scripts/diffconfig.sh: fix handing of CONFIG_TARGET_MULTI_PROFILE
[openwrt/staging/yousong.git] / scripts / diffconfig.sh
index 9972a39132f53405938822b46a2bb7f1e32a4e96..bdaf1a1cda10ac125bad9aa7dba3f4148c26a838 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
 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
 grep '^CONFIG_ALL_KMODS=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_ALL_NONSHARED=y' .config >> tmp/.diffconfig.head