summaryrefslogtreecommitdiff
path: root/mk/binutils.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-25 23:28:19 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-25 23:28:19 +0200
commita06bdb479a95ed49e4a58dd75c818086173534ae (patch)
treef3c206aa3daaf3354c185a2297420dd786326d6e /mk/binutils.mk
parent8fe32c17ce90cc6788bb9dfb5ac0e0decedaa5dd (diff)
downloadembtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.gz
embtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.bz2
embtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.xz
Embtk: Make use of J env var for parallel build
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/binutils.mk')
-rw-r--r--mk/binutils.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/mk/binutils.mk b/mk/binutils.mk
index 462ca06..1584e40 100644
--- a/mk/binutils.mk
+++ b/mk/binutils.mk
@@ -1,4 +1,4 @@
-#########################################################################################
+################################################################################
# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
#
@@ -14,13 +14,13 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
-#########################################################################################
+################################################################################
#
# \file binutils.mk
# \brief binutils.mk of Embtoolkit
# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date May 2009
-#########################################################################################
+################################################################################
BINUTILS_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_BINUTILS_VERSION_STRING)))
BINUTILS_SITE := http://ftp.gnu.org/gnu/binutils
@@ -29,9 +29,10 @@ BINUTILS_BUILD_DIR := $(TOOLS_BUILD)/binutils
binutils_install: $(BINUTILS_BUILD_DIR)/.built
-$(BINUTILS_BUILD_DIR)/.built: download_binutils $(BINUTILS_BUILD_DIR)/.decompressed \
- $(BINUTILS_BUILD_DIR)/.configured
- @$(MAKE) -C $(BINUTILS_BUILD_DIR) && $(MAKE) -C $(BINUTILS_BUILD_DIR) install
+$(BINUTILS_BUILD_DIR)/.built: download_binutils \
+ $(BINUTILS_BUILD_DIR)/.decompressed $(BINUTILS_BUILD_DIR)/.configured
+ @$(MAKE) -C $(BINUTILS_BUILD_DIR) $(J)
+ $(MAKE) -C $(BINUTILS_BUILD_DIR) install
@touch $@
download_binutils: