Makefile.unix: This seems to eliminate the spuriouis errors reported by 'make savedefconfig'

This commit is contained in:
Gregory Nutt
2018-03-07 13:37:53 -06:00
parent 8b57b7771f
commit 82baae5101
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -521,9 +521,9 @@ savedefconfig: do_savedefconfig
$(Q) APPSDIR=${CONFIG_APPS_DIR} kconfig-conf --savedefconfig defconfig.tmp Kconfig $(Q) APPSDIR=${CONFIG_APPS_DIR} kconfig-conf --savedefconfig defconfig.tmp Kconfig
$(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig.tmp $(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig.tmp
$(Q) grep "CONFIG_ARCH=" .config >> defconfig.tmp $(Q) grep "CONFIG_ARCH=" .config >> defconfig.tmp
-$(Q) grep "^CONFIG_ARCH_CHIP_" .config >> defconfig.tmp $(Q) grep "^CONFIG_ARCH_CHIP_" .config >> defconfig.tmp; true
-$(Q) grep "CONFIG_ARCH_BOARD=" .config && grep "CONFIG_ARCH_BOARD=" .config >> defconfig.tmp $(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 $(Q) grep "^CONFIG_ARCH_CUSTOM" .config && grep "^CONFIG_ARCH_CUSTOM" .config >> defconfig.tmp; true
$(Q) cat defconfig.tmp | sort | uniq > defconfig $(Q) cat defconfig.tmp | sort | uniq > defconfig
$(Q) rm -f defconfig.tmp $(Q) rm -f defconfig.tmp
+2 -1
View File
@@ -19,7 +19,8 @@ further information about this board.
NOTE: This port was developed on the original board, order code NOTE: This port was developed on the original board, order code
STM32F4DISCOVERY. That board has been replaced with the new order code STM32F4DISCOVERY. That board has been replaced with the new order code
STM32F407G-DISC1. The new board differs in at least these ways: STM32F407VG-DISC1. The new version of the board differs in at least these
ways:
- The ST-LINK/V2 has been updated to ST-LINK/V2-A on STM32F407G-DISC1 - The ST-LINK/V2 has been updated to ST-LINK/V2-A on STM32F407G-DISC1
with a Virtual Com port and Mass storage. with a Virtual Com port and Mass storage.