summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/mtd/mtd.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index ae2d433de..ec8c663d0 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -68,14 +68,12 @@ MTD_MAKE_COMMON_FLAGS = \
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
WITHOUT_XATTR=1 WITHOUT_LARGEFILE=1
-ifneq ($(MTD_TARGETS_y),)
define MTD_TARGETS_BUILD
$(MAKE1) $(MTD_MAKE_COMMON_FLAGS) \
BUILDDIR=$(@D) \
-C $(@D) \
- $(addprefix $(@D)/, $(MTD_TARGETS_y))
+ $(addprefix $(@D)/, lib/libmtd.a $(MTD_TARGETS_y))
endef
-endif
ifneq ($(MTD_TARGETS_UBI_y),)
define MTD_TARGETS_UBI_BUILD