scripts/diffconfig.sh: ensure config/conf is built
[openwrt/staging/jow.git] / scripts / diffconfig.sh
index 5f9fec56000f85fb985115d3cb2f608c1fa62f7d..7ffe9dd01ae27eb9cde7dc43879a88a7b2df359f 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+make ./scripts/config/conf >/dev/null || { make ./scripts/config/conf; exit 1; }
 grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
 grep \^CONFIG_TARGET_DEVICE_ .config >> tmp/.diffconfig.head
 grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head