Patchwork New patch to review: 01d2c28 Change make crossgcc to build without gdb by default

login
register
about
Submitter gerrit@coreboot.org
Date 2011-06-09 03:19:09
Message ID <E1QUVm1-0006Lq-8G@ra.coresystems.de>
Download mbox | patch
Permalink /patch/3092/
State New, archived
Headers show

Comments

gerrit@coreboot.org - 2011-06-09 03:19:09
Peter Stuge (peter@stuge.se) just uploaded a new patch set to gerrit, which you can find at
http://review.coreboot.org/17

-gerrit

Patch

commit 01d2c2840b212335ae5d722c0320dfad0c72f97b
Author: Peter Stuge <peter@stuge.se>
Date:   Thu Jun 9 05:06:25 2011 +0200

    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>

diff --git a/Makefile.inc b/Makefile.inc
index 72a3b55..8191a04 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