aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2022-02-21 14:44:43 -0300
committerPetr Štetiar <ynezz@true.cz>2022-02-22 16:37:23 +0100
commitc0849c1d9c17ba96a37b67363b5551c065e9f50d (patch)
treea9915baf9b6f57825574c78bef697955a561ede2 /scripts
parent418dc0497db02b1ccddf26009e16d42496b7f554 (diff)
downloadupstream-c0849c1d9c17ba96a37b67363b5551c065e9f50d.tar.gz
upstream-c0849c1d9c17ba96a37b67363b5551c065e9f50d.tar.bz2
upstream-c0849c1d9c17ba96a37b67363b5551c065e9f50d.zip
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 <cotequeiroz@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/diffconfig.sh1
1 files changed, 1 insertions, 0 deletions
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