From 0b933d4644a9cc73bf6f54ee148ddc3b0638a0f7 Mon Sep 17 00:00:00 2001
From: Cristian Magherusan-Stanciu <cristi.magherusan@gmail.com>
Date: Mon, 16 May 2011 01:35:03 +0000
Subject: 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
---
 util/crossgcc/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 util/crossgcc/Makefile

(limited to 'util/crossgcc')

diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
new file mode 100644
index 0000000000..6aa07d6a2c
--- /dev/null
+++ b/util/crossgcc/Makefile
@@ -0,0 +1,9 @@
+all: build
+
+build:
+	./buildgcc
+
+clean:
+	rm -rf xgcc
+
+.PHONY: all build clean
-- 
cgit v1.2.3