summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/mtd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 30da86707..0a94deb66 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -118,6 +118,7 @@ $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
$(MAKE) $(TARGET_CONFIGURE_OPTS) \
CFLAGS+="-I$(MTD_DIR)/include" \
CFLAGS+="-I$(LINUX_HEADERS_DIR)/include" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))