Merged in david_s5/nuttx/master_fix_relitive_build (pull request #1017)
Fixed CONFIG_ARCH_BOARD_CUSTOM based builds Essentially reverts Added a missing '=' in the second grep statement it was not missing it was deliberately not in the second grep Adding a '=' in the second grep statement caused the "children" of CONFIG_ARCH_BOARD_CUSTOM; namely: CONFIG_ARCH_BOARD_CUSTOM_DIR CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH CONFIG_ARCH_BOARD_CUSTOM_NAME to be lost on a savedefconfig To see the issue run make oldconfig; make savedefconfig; make oldconfig Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
04dda09ed1
commit
6d42574619
@ -581,7 +581,7 @@ savedefconfig: do_savedefconfig
|
||||
$(Q) grep "^CONFIG_ARCH_CHIP=" .config >> defconfig.tmp; true
|
||||
$(Q) grep "CONFIG_ARCH_BOARD=" .config && grep "CONFIG_ARCH_BOARD=" .config >> defconfig.tmp; true
|
||||
$(Q) grep "^CONFIG_ARCH_CUSTOM" .config && grep "^CONFIG_ARCH_CUSTOM" .config >> defconfig.tmp; true
|
||||
$(Q) grep "^CONFIG_ARCH_BOARD_CUSTOM=" .config && grep "^CONFIG_ARCH_BOARD_CUSTOM=" .config >> defconfig.tmp; true
|
||||
$(Q) grep "^CONFIG_ARCH_BOARD_CUSTOM=" .config && grep "^CONFIG_ARCH_BOARD_CUSTOM" .config >> defconfig.tmp; true
|
||||
$(Q) export LC_ALL=C; cat defconfig.tmp | sort | uniq > sortedconfig.tmp
|
||||
$(Q) echo "#" > warning.tmp
|
||||
$(Q) echo "# This file is autogenerated: PLEASE DO NOT EDIT IT." >> warning.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user