Skip to content

Commit

Permalink
merge_config.sh: rename MAKE to RUNMAKE
Browse files Browse the repository at this point in the history
The variable "MAKE" is used to store the command name that has
invoked the Makefile.  (Actually, it is already set to "make"
if you run this script from a Makefile.)

In this script, however, it is used to determine if Make should be
run or not.  It is not what we usually expect.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Masahiro Yamada authored and Michal Marek committed Mar 24, 2015
1 parent 3a975b8 commit bc8f8f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/kconfig/merge_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ usage() {
echo " -O dir to put generated output files"
}

MAKE=true
RUNMAKE=true
ALLTARGET=alldefconfig
WARNREDUN=false
OUTPUT=.
Expand All @@ -48,7 +48,7 @@ while true; do
continue
;;
"-m")
MAKE=false
RUNMAKE=false
shift
continue
;;
Expand Down Expand Up @@ -119,7 +119,7 @@ for MERGE_FILE in $MERGE_LIST ; do
cat $MERGE_FILE >> $TMP_FILE
done

if [ "$MAKE" = "false" ]; then
if [ "$RUNMAKE" = "false" ]; then
cp $TMP_FILE $OUTPUT/.config
echo "#"
echo "# merged configuration written to $OUTPUT/.config (needs make)"
Expand Down

0 comments on commit bc8f8f5

Please sign in to comment.