diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-19 23:11:57 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-19 23:11:57 +0200 |
commit | f3122259e2cbbc0be0fc02820a146b4e4f48bef6 (patch) | |
tree | d75976870fd60245f7e308faa6b882eb0f1ca70b /package/mtd/mtd.mk | |
parent | 8272501ea070a2145f2262ff56f336716ecfcc77 (diff) |
mtd-utils: buildsystem is broken with parallel make (regarding libubi)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd/mtd.mk')
-rw-r--r-- | package/mtd/mtd.mk | 8 |
1 files changed, 4 insertions, 4 deletions
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)) |