Update crossgcc Makefile for new buildgcc arguments
commit403ba7726a0235c7399fec75baa769ca4eacc018
authorMartin Roth <gaumless@gmail.com>
Sun, 28 Jun 2015 01:09:05 +0000 (27 19:09 -0600)
committerMartin Roth <gaumless@gmail.com>
Sun, 12 Jul 2015 17:04:14 +0000 (12 19:04 +0200)
treeadb06fcd20df9771e82dc583a01939629ce0d8c8
parentc4e49f62621429a363b092d1a6df11d2cf380465
Update crossgcc Makefile for new buildgcc arguments

The script `util/crossgcc/buildgcc` was rewritten in commit 85b07d68
(buildgcc: move to a package centric user interface) and the switches
changed.  This patch does the following:

- IASL was split out of the gcc builds, so needs a target of its own.
- Add clang build target
- Update the build-ARCH targets as buildgcc -G no longer builds gcc.
- Rework all the targets to use common targets to call buildgcc
- Split the tempfile clean from the regular clean
- Change the 'all' target to leave the tempfiles until all architectures
are built so that if one fails and needs a rebuild, it doesn't have to
start from scratch.
- Add an all_without_gdb target
- Add clang build to all

Change-Id: I4ff720eab6d9b72d00757fd2b632e6d9a6c25aa3
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/10679
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/crossgcc/Makefile