summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-01-17 23:13:59 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-01-17 23:13:59 (GMT)
commit6a772086b7c4d7df75da3d7ab046242bc4d8ec51 (patch)
tree339b187177008685f333264baad166ebd0b1235f
parent6bfb4885b03d79a474aa431bd406c2bb707aa7cf (diff)
downloadbuildroot-6a772086b7c4d7df75da3d7ab046242bc4d8ec51.tar.gz
buildroot-6a772086b7c4d7df75da3d7ab046242bc4d8ec51.tar.bz2
package/mtd: mtd-utils: fix fec.c build (bcopy reference)
Needs similar fix as what we already have for mtd-utils.git Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/mtd/mtd-utils/mtd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk
index 9b114de..a1aef16 100644
--- a/package/mtd/mtd-utils/mtd.mk
+++ b/package/mtd/mtd-utils/mtd.mk
@@ -99,6 +99,7 @@ $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
$(MAKE) CFLAGS="-I. -I./include -I$(LINUX_HEADERS_DIR)/include -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
BUILDDIR=$(MTD_DIR) \
+ CPPFLAGS="-DNEED_BCOPY -Dbcmp=memcmp" \
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LINUXDIR=$(LINUX26_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR)
MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))