uboot/tools
Masahiro Yamada cd51878e34 tools: fix define2mk.sed to not add quotes around negative integers
The sed script, tools/scripts/define2mk.sed, converts config defines
from C headers into include/autoconf.mk for the use in Makefiles.

I found the tool adds quotes around negative integer values.

For example, at the point of the v2016.07-rc1 tag,
include/configs/microblaze-generic.h defines
  #define CONFIG_BOOTDELAY         -1     /* -1 disables auto-boot */

Because it is an integer option, it should be converted to:
  CONFIG_BOOTDELAY=-1

But, the script actually converts it to:
  CONFIG_BOOTDELAY="-1"

This is a fatal problem for the tools/moveconfig.py because it parses
include/autoconf.mk for the config defines from the board headers.
CONFIG_BOOTDELAY="-1" is considered as a string type option and it
is dropped due to the type mismatch from the entry in Kconfig.

This commit fixes the script so that the tools/moveconfig.py can
correctly convert integer options with a negative value.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2016-06-13 07:46:29 +09:00
..
buildman buildman: allow more incremental building 2016-05-17 09:54:43 -06:00
easylogo
env tools/env: allow to pass NULL for environment options 2016-05-31 10:23:10 -04:00
gdb
kermit
logos dm: video: test: Test that bitmap display works correctly 2016-01-20 19:10:16 -07:00
omap
patman buildman: Allow branch names which conflict with directories 2016-03-17 21:27:39 -06:00
scripts tools: fix define2mk.sed to not add quotes around negative integers 2016-06-13 07:46:29 +09:00
tbot test, tools: update tbot documentation 2016-05-13 11:25:59 -04:00
.gitignore tools: Add entry for generated tools/bin2header to tools/.gitignore 2016-05-27 15:47:56 -04:00
Makefile tools: zynqmpimage: Add Xilinx ZynqMP boot header generation 2016-05-24 11:15:01 +02:00
aisimage.c
aisimage.h
atmel_pmecc_params.c Change my mailaddress 2016-05-02 18:37:09 -04:00
atmelimage.c Change my mailaddress 2016-05-02 18:37:09 -04:00
bin2header.c cmd: Fix license command 2016-03-22 12:16:13 -04:00
bmp_logo.c
default_image.c
dumpimage.c
dumpimage.h
envcrc.c
fdt_host.h
fdtgrep.c fdtgrep: Improve error handling with invalid device tree 2016-03-14 15:34:50 -06:00
fit_check_sign.c
fit_common.c
fit_common.h
fit_image.c fit_image: Fix a double close() on the error path 2016-05-02 18:37:10 -04:00
fit_info.c
gen_eth_addr.c
genboardscfg.py tools/genboardscfg.py: remove bogus import subprocess 2016-05-27 15:47:56 -04:00
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c
ifdtool.c
ifdtool.h
image-host.c
imagetool.c mkimage: Add a quiet mode 2016-05-23 11:50:19 -04:00
imagetool.h mkimage: Add a quiet mode 2016-05-23 11:50:19 -04:00
img2brec.sh
img2srec.c
imximage.c imx: tools: imximage: fix CLR bit command 2016-05-17 17:52:19 +02:00
imximage.h
jtagconsole
kwbimage.c
kwbimage.h
kwboot.c tools: kwboot: Add xmodem timeout option 2016-03-24 10:08:49 +01:00
lpc32xximage.c
microcode-tool
microcode-tool.py
mingw_support.c
mingw_support.h
mkenvimage.c
mkexynosspl.c
mkimage.c mkimage: Add a quiet mode 2016-05-23 11:50:19 -04:00
mkimage.h
mksunxiboot.c
moveconfig.py tools: moveconfig: Add a new --git-ref option 2016-06-13 07:46:29 +09:00
mxsboot.c mxsboot: remove unused include 2016-02-21 11:09:19 +01:00
mxsimage.c
mxsimage.h
ncb.c
netconsole
omapimage.c
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c
pblimage.h
proftool.c
relocate-rela.c
rkcommon.c
rkcommon.h
rkimage.c rockchip: Check image name for the rksd image 2016-05-27 10:23:07 -06:00
rkmux.py rockchip: Add a script to parse datasheets 2016-01-21 20:42:37 -07:00
rksd.c
rkspi.c
socfpgaimage.c
ublimage.c
ublimage.h
ubsha1.c
xway-swap-bytes.c
zynqimage.c
zynqmpimage.c tools: zynqmpimage: Add Xilinx ZynqMP boot header generation 2016-05-24 11:15:01 +02:00