summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2011-06-09 05:06:25 +0200
committerPeter Stuge <peter@stuge.se>2011-06-09 06:09:17 +0200
commit0b6b4d6d439091cc83b8a63c821ca7e6817da94c (patch)
tree7e9dcb297789dc41d29089b075acb99b57515320
parent486e03228e15c4e26e199900b8909c0676c1140a (diff)
downloadcoreboot-0b6b4d6d439091cc83b8a63c821ca7e6817da94c.tar.xz
Change make crossgcc to build without gdb by default
Using gdb with coreboot is not (yet) very common, so at least for now it makes sense to not build gdb by default. A make crosstools target is also added, which runs the full build in util/crossgcc and thus generates a toolchain with both compiler and debugger. Change-Id: I939ebcd06ae9a1bc485fd18e70cac98112d3bbbf Signed-off-by: Peter Stuge <peter@stuge.se> Reviewed-on: http://review.coreboot.org/17 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Buschman <mbuschman@lucidmachines.com>
-rw-r--r--Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 72a3b55017..8191a04692 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -236,6 +236,9 @@ gitconfig:
(git config --global user.name >/dev/null && git config --global user.email >/dev/null) || (printf 'Please configure your name and email in git:\n\n git config --global user.name "Your Name Comes Here"\n git config --global user.email your.email@example.com\n'; exit 1)
crossgcc: clean-for-update
+ $(MAKE) -C util/crossgcc build-without-gdb
+
+crosstools: clean-for-update
$(MAKE) -C util/crossgcc build
crossgcc-clean: clean-for-update