diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /scripts/diffconfig.sh | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'scripts/diffconfig.sh')
-rwxr-xr-x | scripts/diffconfig.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh new file mode 100755 index 0000000..c7e8c1e --- /dev/null +++ b/scripts/diffconfig.sh @@ -0,0 +1,11 @@ +#!/bin/sh +grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head +grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head +grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head +grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head +./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Config.in >/dev/null +./scripts/kconfig.pl '>+' tmp/.diffconfig.stage1 .config >> tmp/.diffconfig.head +./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage2 Config.in >/dev/null +./scripts/kconfig.pl '>' tmp/.diffconfig.stage2 .config >> tmp/.diffconfig.head +cat tmp/.diffconfig.head +rm -f tmp/.diffconfig tmp/.diffconfig.head |