projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8010b
)
fix mtd target define for brcm-2.4
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Sep 2008 17:03:06 +0000
(17:03 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Sep 2008 17:03:06 +0000
(17:03 +0000)
SVN-Revision: 12650
package/mtd/Makefile
patch
|
blob
|
history
diff --git
a/package/mtd/Makefile
b/package/mtd/Makefile
index 11a78e8454e94164866b52467de1f0c840236693..d8fa19cb0af8259d4a4acc5a1d257ee35f9bfb40 100644
(file)
--- 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