summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-03-25 15:25:15 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-03-25 15:25:15 +0000
commit09a0eb478b229261920c155324c3a5cb2f14bc78 (patch)
tree5d18ec0db19d94c113d749e49886cc7fa8a6663e
parent86dbe15017d2042e6b15d89b7f2e19e100a884eb (diff)
It's really obj=, not O= (see toplevel Makefile)
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5289 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rwxr-xr-xutil/abuild/abuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index eca9315d7f..3c58d64e44 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -143,7 +143,7 @@ function create_config
printf "Using payload $PAYLOAD\n"
fi
- $MAKE distclean O=${build_dir}
+ $MAKE distclean obj=${build_dir}
mkdir -p ${build_dir}
if [ "$CONFIG" != "" ]; then
@@ -181,7 +181,7 @@ function create_config
fi
fi
- yes "" | $MAKE oldconfig O=${build_dir} > ${build_dir}/config.log
+ yes "" | $MAKE oldconfig obj=${build_dir} > ${build_dir}/config.log
ret=$?
mv .config.old $TARGET/${VENDOR}_${MAINBOARD}/config.in
if [ $ret -eq 0 ]; then
@@ -218,8 +218,8 @@ function create_buildenv
echo "OUT=$TARGET/${VENDOR}_${MAINBOARD}" >> $MAKEFILE
echo "coreboot.rom:" >> $MAKEFILE
echo " cp config.build \$(TOP)/.config" >> $MAKEFILE
- echo " cd \$(TOP); \$(MAKE) oldconfig O=\$(OUT)" >> $MAKEFILE
- echo " cd \$(TOP); \$(MAKE) O=\$(OUT)" >> $MAKEFILE
+ echo " cd \$(TOP); \$(MAKE) oldconfig obj=\$(OUT)" >> $MAKEFILE
+ echo " cd \$(TOP); \$(MAKE) obj=\$(OUT)" >> $MAKEFILE
}
function compile_target
@@ -235,7 +235,7 @@ function compile_target
CURR=$( pwd )
stime=`perl -e 'print time();' 2>/dev/null || date +%s`
build_dir=$TARGET/${VENDOR}_${MAINBOARD}
- eval $MAKE $silent -j $cpus O=${build_dir} \
+ eval $MAKE $silent -j $cpus obj=${build_dir} \
&> ${build_dir}/make.log
ret=$?
mv .config ${build_dir}/config.build