Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298206
b: refs/heads/master
c: 9875c42
h: refs/heads/master
v: v3
  • Loading branch information
John Stultz authored and Michal Marek committed Mar 30, 2012
1 parent e67d59c commit 3433e4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55cae3043a48e01f8fc31e8aecc3062c4767a27d
refs/heads/master: 9875c42d6979a7db0b8d217e2a88095b753f482c
9 changes: 9 additions & 0 deletions trunk/scripts/kconfig/merge_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ usage() {
echo " -h display this help text"
echo " -m only merge the fragments, do not execute the make command"
echo " -n use allnoconfig instead of alldefconfig"
echo " -r list redundant entries when merging fragments"
}

MAKE=true
ALLTARGET=alldefconfig
WARNREDUN=false

while true; do
case $1 in
Expand All @@ -52,6 +54,11 @@ while true; do
usage
exit
;;
"-r")
WARNREDUN=true
shift
continue
;;
*)
break
;;
Expand Down Expand Up @@ -83,6 +90,8 @@ for MERGE_FILE in $MERGE_LIST ; do
echo Previous value: $PREV_VAL
echo New value: $NEW_VAL
echo
elif [ "$WARNREDUN" = "true" ]; then
echo Value of $CFG is redundant by fragment $MERGE_FILE:
fi
sed -i "/$CFG[ =]/d" $TMP_FILE
fi
Expand Down

0 comments on commit 3433e4d

Please sign in to comment.