diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-22 17:03:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-22 17:03:06 +0000 |
commit | d66671abc463474185837617389a3ae2b91d9fc4 (patch) | |
tree | 3ef772655290757b7d6bd1cd5c2cef9f968c5b38 /package/mtd/Makefile | |
parent | af6c34ae4440e0ad5f2bbaf1fefe6a45f98a5b59 (diff) | |
download | upstream-d66671abc463474185837617389a3ae2b91d9fc4.tar.gz upstream-d66671abc463474185837617389a3ae2b91d9fc4.tar.bz2 upstream-d66671abc463474185837617389a3ae2b91d9fc4.zip |
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/Makefile')
-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 11a78e8454..d8fa19cb0a 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 |