diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-22 17:03:06 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-22 17:03:06 +0000 |
commit | c7494fd234a2d7f81005cba0b781062d110e4a4c (patch) | |
tree | 3ef772655290757b7d6bd1cd5c2cef9f968c5b38 /package/mtd | |
parent | 3a25b868c7ec5a22f6af9e433a1f8f2d09718761 (diff) |
fix mtd target define for brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12650 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd')
-rw-r--r-- | package/mtd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/Makefile b/package/mtd/Makefile index 11a78e845..d8fa19cb0 100644 --- a/package/mtd/Makefile +++ b/package/mtd/Makefile @@ -35,7 +35,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -Dtarget_$(BOARD)=1" + CFLAGS="$(TARGET_CFLAGS) -Dtarget_$(firstword $(subst -, ,$(BOARD)))=1" endef define Package/mtd/install |