summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-05-19 23:11:57 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-19 23:11:57 +0200
commitf3122259e2cbbc0be0fc02820a146b4e4f48bef6 (patch)
treed75976870fd60245f7e308faa6b882eb0f1ca70b
parent8272501ea070a2145f2262ff56f336716ecfcc77 (diff)
mtd-utils: buildsystem is broken with parallel make (regarding libubi)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/mtd/mtd.mk8
2 files changed, 5 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index 8c7aaba96..5b0065cfc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,7 @@
Fixes all over the tree.
- Updated/fixed packages: avahi, busybox
+ Updated/fixed packages: avahi, busybox, mtd-utils
2010.05-rc2, Released May 11th, 2010:
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 2c69c1654..0c9ed4214 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -14,12 +14,12 @@ HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-e2fsprogs
define HOST_MTD_BUILD_CMDS
CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
- CROSS= $(MAKE) BUILDDIR=$(@D) \
+ CROSS= $(MAKE1) BUILDDIR=$(@D) \
WITHOUT_XATTR=1 -C $(@D)
endef
define HOST_MTD_INSTALL_CMDS
- $(MAKE) BUILDDIR=$(@D) DESTDIR=$(HOST_DIR) -C $(@D) install
+ $(MAKE1) BUILDDIR=$(@D) DESTDIR=$(HOST_DIR) -C $(@D) install
endef
MKFS_JFFS2=$(HOST_DIR)/usr/sbin/mkfs.jffs2
@@ -71,7 +71,7 @@ MTD_MAKE_COMMON_FLAGS = \
ifneq ($(MTD_TARGETS_y),)
define MTD_TARGETS_BUILD
- $(MAKE) $(MTD_MAKE_COMMON_FLAGS) \
+ $(MAKE1) $(MTD_MAKE_COMMON_FLAGS) \
BUILDDIR=$(@D) \
-C $(@D) \
$(addprefix $(@D)/, $(MTD_TARGETS_y))
@@ -80,7 +80,7 @@ endif
ifneq ($(MTD_TARGETS_UBI_y),)
define MTD_TARGETS_UBI_BUILD
- $(MAKE) $(MTD_MAKE_COMMON_FLAGS) \
+ $(MAKE1) $(MTD_MAKE_COMMON_FLAGS) \
BUILDDIR=$(@D)/ubi-utils/ \
-C $(@D)/ubi-utils \
$(addprefix $(@D)/ubi-utils/, $(MTD_TARGETS_UBI_y))