[coreboot] [patch] crossgcc make target

Cristi Magherusan cristi.magherusan at net.utcluj.ro
Mon May 16 03:17:35 CEST 2011


Please see the patch below.

Signed-off-by: Cristian Magherusan-Stanciu <cristi.magherusan at gmail.com>

diff --git a/Makefile b/Makefile
index ac7115d..69e32a4 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
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
new file mode 100644
index 0000000..ea19e6f
--- /dev/null
+++ b/util/crossgcc/Makefile
@@ -0,0 +1,12 @@
+all: build
+
+build:
+	./buildgcc
+
+clean:
+	rm -rf xgcc
+
+distclean: clean
+	rm -rf tarballs/*
+
+.PHONY: all clean distclean build










More information about the coreboot mailing list