abuild should be using O=, not obj=
authorStefan Reinauer <stepan@coresystems.de>
Wed, 24 Mar 2010 22:39:40 +0000 (22:39 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 24 Mar 2010 22:39:40 +0000 (22:39 +0000)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/abuild/abuild

index 1e67685ffbb438e8a485d160fcc4c53908fc10e5..3325fed6e32cd6f06ac583e9414b47a73ddaa3c8 100755 (executable)
@@ -143,7 +143,7 @@ function create_config
                printf "Using payload $PAYLOAD\n"
        fi
 
-       $MAKE distclean obj=${build_dir}
+       $MAKE distclean O=${build_dir}
        mkdir -p ${build_dir}
 
        if [ "$CONFIG" != "" ]; then
@@ -181,7 +181,7 @@ function create_config
                fi
        fi
 
-       yes "" | $MAKE oldconfig obj=${build_dir} > ${build_dir}/config.log
+       yes "" | $MAKE oldconfig O=${build_dir} > ${build_dir}/config.log
        ret=$?
        mv .config.old $TARGET/${VENDOR}_${MAINBOARD}/config.in
        if [ $ret -eq 0 ]; then
@@ -225,7 +225,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 obj=${build_dir} \
+       eval $MAKE $silent -j $cpus O=${build_dir} \
                &> ${build_dir}/make.log
        ret=$?
        mv .config ${build_dir}/config.build