projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59991e5
)
mtd: avoid adding the kernel dir to includes, use the toolchain headers
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Nov 2012 17:01:30 +0000
(17:01 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Nov 2012 17:01:30 +0000
(17:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34071
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mtd/Makefile
patch
|
blob
|
history
diff --git
a/package/mtd/Makefile
b/package/mtd/Makefile
index
c6b94ff
..
f429128
100644
(file)
--- a/
package/mtd/Makefile
+++ b/
package/mtd/Makefile
@@
-38,7
+38,7
@@
endef
target=$(firstword $(subst -, ,$(BOARD)))
MAKE_FLAGS += TARGET="$(target)"
-TARGET_CFLAGS :=
-I$(LINUX_DIR)/include
$(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall
+TARGET_CFLAGS := $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall
ifdef CONFIG_MTD_REDBOOT_PARTS
MAKE_FLAGS += FIS_SUPPORT=1