summaryrefslogtreecommitdiff
path: root/tools/scripts/define2mk.sed
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-06-12 23:28:57 -0400
committerTom Rini <trini@konsulko.com>2016-06-12 23:28:57 -0400
commita52142855a1345c233af8bb76fb1ad4d3048e008 (patch)
treeaab71e32931aebbe7041e24274c62d7d1c66b4cc /tools/scripts/define2mk.sed
parent51c14cd128f4355514397dc3c8647fb14f7d8ff4 (diff)
parent3865b9ebe73eb6246ff2ab6ae7957f507eb539f7 (diff)
downloadu-boot-imx-a52142855a1345c233af8bb76fb1ad4d3048e008.zip
u-boot-imx-a52142855a1345c233af8bb76fb1ad4d3048e008.tar.gz
u-boot-imx-a52142855a1345c233af8bb76fb1ad4d3048e008.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
Diffstat (limited to 'tools/scripts/define2mk.sed')
-rw-r--r--tools/scripts/define2mk.sed2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/define2mk.sed b/tools/scripts/define2mk.sed
index c641edf..0f00285 100644
--- a/tools/scripts/define2mk.sed
+++ b/tools/scripts/define2mk.sed
@@ -22,6 +22,8 @@
s/=\(..*\)/="\1"/;
# but remove again from decimal numbers
s/="\([0-9][0-9]*\)"/=\1/;
+ # ... and from negative decimal numbers
+ s/="\(-[1-9][0-9]*\)"/=\1/;
# ... and from hex numbers
s/="\(0[Xx][0-9a-fA-F][0-9a-fA-F]*\)"/=\1/;
# ... and from configs defined from other configs