From 86dbe15017d2042e6b15d89b7f2e19e100a884eb Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 25 Mar 2010 14:18:57 +0000 Subject: One feature I've been really missing since we switched to Kconfig is that after an abuild run you could cd to coreboot-builds/mainboard_name and just run "make" to rebuild that one target (and get a non-parallel build easily) This small add-on to abuild brings that feature back. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5288 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/util/abuild/abuild b/util/abuild/abuild index 3325fed6e3..eca9315d7f 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -210,6 +210,16 @@ function create_buildenv MAINBOARD=$2 CONFIG=$3 create_config $VENDOR $MAINBOARD $CONFIG + + # Allow simple "make" in the target directory + MAKEFILE=$TARGET/${VENDOR}_${MAINBOARD}/Makefile + echo "# autogenerated makefile" > $MAKEFILE + echo "TOP=$ROOT" >> $MAKEFILE + 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 } function compile_target -- cgit v1.2.3