mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| buildman | ||
| easylogo | ||
| env | ||
| gdb | ||
| kermit | ||
| logos | ||
| omap | ||
| patman | ||
| scripts | ||
| tbot | ||
| .gitignore | ||
| aisimage.c | ||
| aisimage.h | ||
| atmel_pmecc_params.c | ||
| atmelimage.c | ||
| bin2header.c | ||
| bmp_logo.c | ||
| default_image.c | ||
| dumpimage.c | ||
| dumpimage.h | ||
| envcrc.c | ||
| fdt_host.h | ||
| fdtgrep.c | ||
| fit_check_sign.c | ||
| fit_common.c | ||
| fit_common.h | ||
| fit_image.c | ||
| fit_info.c | ||
| gen_eth_addr.c | ||
| genboardscfg.py | ||
| getline.c | ||
| getline.h | ||
| gpheader.h | ||
| gpimage-common.c | ||
| gpimage.c | ||
| ifdtool.c | ||
| ifdtool.h | ||
| image-host.c | ||
| imagetool.c | ||
| imagetool.h | ||
| img2brec.sh | ||
| img2srec.c | ||
| imximage.c | ||
| imximage.h | ||
| jtagconsole | ||
| kwbimage.c | ||
| kwbimage.h | ||
| kwboot.c | ||
| lpc32xximage.c | ||
| Makefile | ||
| microcode-tool | ||
| microcode-tool.py | ||
| mingw_support.c | ||
| mingw_support.h | ||
| mkenvimage.c | ||
| mkexynosspl.c | ||
| mkimage.c | ||
| mkimage.h | ||
| mksunxiboot.c | ||
| moveconfig.py | ||
| mxsboot.c | ||
| 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 | ||
| rkmux.py | ||
| rksd.c | ||
| rkspi.c | ||
| socfpgaimage.c | ||
| ublimage.c | ||
| ublimage.h | ||
| ubsha1.c | ||
| xway-swap-bytes.c | ||
| zynqimage.c | ||
| zynqmpimage.c | ||