提交 bc8f8f5f 编写于 作者: M Masahiro Yamada 提交者: Michal Marek

merge_config.sh: rename MAKE to RUNMAKE

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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
Reviewed-by: NDarren Hart <dvhart@linux.intel.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 3a975b8c
...@@ -35,7 +35,7 @@ usage() { ...@@ -35,7 +35,7 @@ usage() {
echo " -O dir to put generated output files" echo " -O dir to put generated output files"
} }
MAKE=true RUNMAKE=true
ALLTARGET=alldefconfig ALLTARGET=alldefconfig
WARNREDUN=false WARNREDUN=false
OUTPUT=. OUTPUT=.
...@@ -48,7 +48,7 @@ while true; do ...@@ -48,7 +48,7 @@ while true; do
continue continue
;; ;;
"-m") "-m")
MAKE=false RUNMAKE=false
shift shift
continue continue
;; ;;
...@@ -119,7 +119,7 @@ for MERGE_FILE in $MERGE_LIST ; do ...@@ -119,7 +119,7 @@ for MERGE_FILE in $MERGE_LIST ; do
cat $MERGE_FILE >> $TMP_FILE cat $MERGE_FILE >> $TMP_FILE
done done
if [ "$MAKE" = "false" ]; then if [ "$RUNMAKE" = "false" ]; then
cp $TMP_FILE $OUTPUT/.config cp $TMP_FILE $OUTPUT/.config
echo "#" echo "#"
echo "# merged configuration written to $OUTPUT/.config (needs make)" echo "# merged configuration written to $OUTPUT/.config (needs make)"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册