diff options
author | Martin Roth <martinroth@google.com> | 2015-11-18 13:09:23 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-11-24 22:35:00 +0100 |
commit | 76f14b2b60e02211c5513d83e970d94869cf058c (patch) | |
tree | d8c6e7e18eb859bf3ed71396d1e81e771e4490a6 /Makefile.inc | |
parent | 21dbc2fc3c2febe0e6ac3760f4c8a63c2aeedd06 (diff) | |
download | coreboot-76f14b2b60e02211c5513d83e970d94869cf058c.tar.xz |
Makefiles: Add / Update help for makefile targets
Currently running 'make help' just gives help for the kconfig targets.
This adds help for common coreboot and toolchain targets. It stops
printing some of the less common kconfig targets, but still leaves
them in the makefile as documentation.
Change-Id: I2a00fcbc06f05dc4029a91f3dff830c19e4d1329
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12458
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc index 53b658b9ce..7fe1e17296 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -446,6 +446,17 @@ gitconfig: git config remote.origin.push HEAD:refs/for/master (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) +help:: + @echo '*** Toolchain ***' + @echo ' crossgcc - Build coreboot cross-compilers for all platforms' + @echo ' crosstools - Build coreboot cross-compiler and GDB for all platforms' + @echo ' crossgcc-clean - Remove all built coreboot cross-compilers' + @echo ' crossgcc-ARCH - Build cross-compiler for specific architecture' + @echo ' crosstools-ARCH - Build cross-compiler with GDB for specific architecture' + @echo ' ARCH can be "i386", "x64", "arm", "aarch64", "mips", or "riscv"' + @echo ' Use "make [target] CPUS=#" to build toolchain using multiple cores' + @echo + # For the toolchain builds, use CPUS=x to use multiple processors to build # use BUILDGCC_OPTIONS= to set any crossgcc command line options # Example: BUILDGCC_OPTIONS='-t' will keep temporary files after build |