summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in3
-rw-r--r--package/flex/flex.mk2
-rw-r--r--package/slang/slang.mk2
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