summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCristian Magherusan-Stanciu <cristi.magherusan@gmail.com>2011-05-16 01:35:03 +0000
committerPeter Stuge <peter@stuge.se>2011-05-16 01:35:03 +0000
commit0b933d4644a9cc73bf6f54ee148ddc3b0638a0f7 (patch)
tree4fadc38d8dd648b5e868b47951d6941132b5c0bd /Makefile
parent3f0075b3d2acfb93f06f76d3b5e11e4ea6987efe (diff)
downloadcoreboot-0b933d4644a9cc73bf6f54ee148ddc3b0638a0f7.tar.xz
Add crossgcc target to automatically build reference toolchain
This means that a simple: $ make crossgcc creates the reference toolchain in the correct directory. Thanks to the dependency on the clean-for-update target, an existing .xcompile along with any compiled objects in build/ will be cleaned out, so the next build will automatically use the newly created reference toolchain. Signed-off-by: Cristian Magherusan-Stanciu <cristi.magherusan@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ac7115da30..69e32a4d66 100644
--- a/Makefile
+++ b/Makefile
@@ -242,6 +242,12 @@ $(shell mkdir -p $(obj) $(objutil)/kconfig/lxdialog $(additional-dirs) $(alldirs
cscope:
cscope -bR
+crossgcc: clean-for-update
+ $(MAKE) -C util/crossgcc build
+
+crossgcc-clean: clean-for-update
+ $(MAKE) -C util/crossgcc clean
+
doxy: doxygen
doxygen:
$(DOXYGEN) documentation/Doxyfile.coreboot