[coreboot] [commit] r5288 - trunk/util/abuild
repository service
svn at coreboot.org
Thu Mar 25 15:18:57 CET 2010
Author: stepan
Date: Thu Mar 25 15:18:57 2010
New Revision: 5288
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5288
Log:
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 <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/util/abuild/abuild
Modified: trunk/util/abuild/abuild
==============================================================================
--- trunk/util/abuild/abuild Wed Mar 24 23:39:40 2010 (r5287)
+++ trunk/util/abuild/abuild Thu Mar 25 15:18:57 2010 (r5288)
@@ -210,6 +210,16 @@
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
More information about the coreboot
mailing list