diff options
author | Phil Sutter <phil@nwl.cc> | 2010-02-24 01:05:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-24 19:19:23 +0100 |
commit | b96814ed6f6bbc7ec650c513f2b27f8b1dcb8ac7 (patch) | |
tree | 9a726a5b2daf1eb101c8036a0f3af8d35b1caece /toolchain/gdb/Makefile | |
parent | fde11aa6b23ac7e16931a9825166b86998e4fbe3 (diff) |
toolchain: enable parallel building for gcc, glibc, binutils, gmp and mpfr
Diffstat (limited to 'toolchain/gdb/Makefile')
-rw-r--r-- | toolchain/gdb/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile index 0d6b7cb48..9571f2a9f 100644 --- a/toolchain/gdb/Makefile +++ b/toolchain/gdb/Makefile @@ -7,6 +7,10 @@ include Makefile.inc include ${TOPDIR}/mk/buildhlp.mk +ifeq (${ADK_MAKE_PARALLEL},y) +GDB_MAKEOPTS+= -j${ADK_MAKE_JOBS} +endif + $(WRKBUILD)/.headers: $(WRKBUILD)/.configured: (cd $(WRKBUILD); \ @@ -33,7 +37,7 @@ $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.compiled: - $(MAKE) -C $(WRKBUILD) CFLAGS="-fPIC ${HOSTCFLAGS}" + $(MAKE) ${GDB_MAKEOPTS} -C $(WRKBUILD) CFLAGS="-fPIC ${HOSTCFLAGS}" touch $@ $(WRKBUILD)/.installed: |