From: Eneas U de Queiroz Date: Mon, 21 Feb 2022 17:44:43 +0000 (-0300) Subject: scripts/diffconfig.sh: ensure config/conf is built X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0849c1d9c17ba96a37b67363b5551c065e9f50d;p=openwrt%2Fstaging%2Fdangole.git scripts/diffconfig.sh: ensure config/conf is built diffconfig.sh runs ./scripts/config/conf, but it does not get built with 'make {menu,x,n}config. Call 'make ./scripts/config/conf' to ensure it's been built befpre running it. Signed-off-by: Eneas U de Queiroz --- diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh index 5f9fec5600..ba5d8e8712 100755 --- a/scripts/diffconfig.sh +++ b/scripts/diffconfig.sh @@ -8,6 +8,7 @@ grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head grep '^CONFIG_BUSYBOX_CUSTOM=y' .config >> tmp/.diffconfig.head grep '^CONFIG_TARGET_PER_DEVICE_ROOTFS=y' .config >> tmp/.diffconfig.head +make -s ./scripts/config/conf ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Config.in >/dev/null ./scripts/kconfig.pl '>+' tmp/.diffconfig.stage1 .config >> tmp/.diffconfig.head ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w tmp/.diffconfig.stage2 Config.in >/dev/null