mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
SVN-Revision: 26349
This commit is contained in:
parent
ad9945105b
commit
1dbabd309b
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
|
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/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/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/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage2 Config.in >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user