diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-11 13:01:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-11 13:01:10 +0000 |
commit | 8e5fb3fb4ab09b4dc04fe7cb3f7becce6514117b (patch) | |
tree | 59b3c8b76c7e29e2b8b174da0f0d6d2b7a06e649 /package | |
parent | c7bf26e6d7032336ed21c894978be01a7bcc98dd (diff) |
Add initial BR2_JLEVEL support, with some exceptions for apps that
have broken 'make -j' support
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile.in | 3 | ||||
-rw-r--r-- | package/flex/flex.mk | 2 | ||||
-rw-r--r-- | package/slang/slang.mk | 2 |
3 files changed, 5 insertions, 2 deletions
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 |