diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2008-11-11 19:00:32 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2008-11-11 19:00:32 +0000 |
commit | b741302a0117aac90199f6e1adf8515ff0de163d (patch) | |
tree | b8dedd30136004e38aa76edd34e2135fce3e3e32 /package/mtd/20061007/mtd.mk | |
parent | 418c84b24b4db33144ae06d436e15464efa85337 (diff) | |
download | buildroot-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/20061007/mtd.mk')
-rw-r--r-- | package/mtd/20061007/mtd.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mtd/20061007/mtd.mk b/package/mtd/20061007/mtd.mk index fdd7bb0c7..ea4f16301 100644 --- a/package/mtd/20061007/mtd.mk +++ b/package/mtd/20061007/mtd.mk @@ -90,6 +90,7 @@ MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y)) $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked mkdir -p $(TARGET_DIR)/usr/sbin $(MAKE) CFLAGS="-I. -I./include -I$(LINUX_HEADERS_DIR)/include -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ CROSS= CC=$(TARGET_CC) LINUXDIR=$(LINUX26_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR) MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y)) |