summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-09 08:30:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-09 08:30:38 +0000
commit9bb66ca13ec584a840c57ea5c606fe09534e01f8 (patch)
treeb549d8b3f68034ef1619a024b886ed30c621a7a9 /package/mtd
parent81df22641fe2bee39b9635e044dadd685eda1526 (diff)
- the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).
Fixes build breakage as seen by Ulf et al.
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/mtd.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 0d7572afd..1673523b0 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -115,7 +115,10 @@ MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios
MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/util/, $(MTD_TARGETS_y))
$(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
- $(TARGET_CONFIGURE_OPTS) $(MAKE) CFLAGS="-I$(MTD_DIR)/include -I$(LINUX_HEADERS_DIR)/include" LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS+="-I$(MTD_DIR)/include" \
+ CFLAGS+="-I$(LINUX_HEADERS_DIR)/include" \
+ LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))