Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- MY_CFG=mipsel-3.4.config
- for cfg in Entware/configs/*.config; do
- grep -v '#' $cfg | grep -vE 'CONFIG_TARGET_|CONFIG_ARCH|CONFIG_CPU_TYPE|CONFIG_DEFAULT_TARGET_OPTIMIZATION' \
- | sort > $(basename $cfg)
- done
- for cfg in *.config; do
- [ "$cfg" = "$MY_CFG" ] && continue
- echo
- echo "Diff between $MY_CFG and $cfg:"
- diff -u $MY_CFG $cfg | grep -E '^\+|^\-' | grep 'CONFIG_'
- done
- for cfg in Entware/configs/*.config; do
- rm -f $(basename $cfg)
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement