summaryrefslogtreecommitdiffstats
path: root/package/mtd/mtd-utils.git
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-11-11 19:00:32 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-11-11 19:00:32 +0000
commitb741302a0117aac90199f6e1adf8515ff0de163d (patch)
treeb8dedd30136004e38aa76edd34e2135fce3e3e32 /package/mtd/mtd-utils.git
parent418c84b24b4db33144ae06d436e15464efa85337 (diff)
downloadbuildroot-novena-b741302a0117aac90199f6e1adf8515ff0de163d.tar.gz
buildroot-novena-b741302a0117aac90199f6e1adf8515ff0de163d.zip
Fix the mtd package with regard to external toolchain use.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mtd/mtd-utils.git')
-rw-r--r--package/mtd/mtd-utils.git/mtd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mtd/mtd-utils.git/mtd.mk b/package/mtd/mtd-utils.git/mtd.mk
index df32f5334..840be9755 100644
--- a/package/mtd/mtd-utils.git/mtd.mk
+++ b/package/mtd/mtd-utils.git/mtd.mk
@@ -109,6 +109,7 @@ MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y)) $(addprefix $(MT
$(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
mkdir -p $(TARGET_DIR)/usr/sbin
$(MAKE1) OPTFLAGS="-DNEED_BCOPY -Dbcmp=memcmp -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
BUILDDIR=$(MTD_DIR) \
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) WITHOUT_XATTR=1 -C $(MTD_DIR)