From 8e5fb3fb4ab09b4dc04fe7cb3f7becce6514117b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 11 Dec 2004 13:01:10 +0000 Subject: Add initial BR2_JLEVEL support, with some exceptions for apps that have broken 'make -j' support --- package/Makefile.in | 3 +++ package/flex/flex.mk | 2 +- package/slang/slang.mk | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/Makefile.in b/package/Makefile.in index db523d21a..a59ab973f 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -1,3 +1,6 @@ +MAKE1=make +MAKE=make -j$(BR2_JLEVEL) + # Strip off the annoying quoting ARCH:=$(strip $(subst ",, $(BR2_ARCH))) #" diff --git a/package/flex/flex.mk b/package/flex/flex.mk index fa47ae69b..6379fd922 100644 --- a/package/flex/flex.mk +++ b/package/flex/flex.mk @@ -51,7 +51,7 @@ $(FLEX_DIR)/$(FLEX_BINARY): $(FLEX_DIR)/.configured $(MAKE) -C $(FLEX_DIR) $(TARGET_DIR)/$(FLEX_TARGET_BINARY): $(FLEX_DIR)/$(FLEX_BINARY) - $(MAKE) \ + $(MAKE1) \ prefix=$(TARGET_DIR)/usr \ exec_prefix=$(TARGET_DIR)/usr \ bindir=$(TARGET_DIR)/usr/bin \ diff --git a/package/slang/slang.mk b/package/slang/slang.mk index d1235943d..43c4bcaaa 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -18,7 +18,7 @@ $(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE) bzcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SLANG_DIR)/libslang.so: $(SLANG_DIR) - $(MAKE) CFLAGS="-Os -g $(SLANG_CFLAGS)" CC=$(TARGET_CC) -C $(SLANG_DIR) + $(MAKE1) CFLAGS="-Os -g $(SLANG_CFLAGS)" CC=$(TARGET_CC) -C $(SLANG_DIR) touch -c $(SLANG_DIR)/libslang.so; $(STAGING_DIR)/lib/libslang.so.1: $(SLANG_DIR)/libslang.so -- cgit v1.2.3