From 6a772086b7c4d7df75da3d7ab046242bc4d8ec51 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 18 Jan 2010 00:13:59 +0100 Subject: 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 --- package/mtd/mtd-utils/mtd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk index 9b114de68..a1aef16ed 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)) -- cgit v1.2.3