scripts/diffconfig.sh: fix handing of CONFIG_TARGET_MULTI_PROFILE
authorFelix Fietkau <nbd@nbd.name>
Thu, 7 Jul 2016 09:23:33 +0000 (11:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Jul 2016 09:23:41 +0000 (11:23 +0200)
Fixes FS#43

Signed-off-by: Felix Fietkau <nbd@nbd.name>
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