Move crossgcc rules to coreboot specific Makefile
Toplevel Makefile should (as far as possible) be coreboot-agnostic,
we have Makefile.inc for that.
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6599 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/Makefile b/Makefile
index 69e32a4..ac7115d 100644
--- a/Makefile
+++ b/Makefile
@@ -242,12 +242,6 @@
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/Makefile.inc b/Makefile.inc
index ea27dd1..0ef9377 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -230,3 +230,10 @@
done; \
test $$FAILED -eq 0 || { echo "ERROR: $$FAILED test(s) failed." && exit 1; }; \
rm -f $$LINTLOG
+
+crossgcc: clean-for-update
+ $(MAKE) -C util/crossgcc build
+
+crossgcc-clean: clean-for-update
+ $(MAKE) -C util/crossgcc clean
+