summaryrefslogtreecommitdiff
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-12 01:45:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-12 01:45:59 +0000
commit0f4a0fa10aba839906dd7018fef5a1136a869157 (patch)
tree89a23661254bd1cbc20d8bf2c5257ff4d910efff /package/mtd/src/Makefile
parentd1309949324c096fb73370eac9ab3176ad69650c (diff)
downloadmtk-20170518-0f4a0fa10aba839906dd7018fef5a1136a869157.zip
mtk-20170518-0f4a0fa10aba839906dd7018fef5a1136a869157.tar.gz
mtk-20170518-0f4a0fa10aba839906dd7018fef5a1136a869157.tar.bz2
fix mtd compile
SVN-Revision: 5505
Diffstat (limited to 'package/mtd/src/Makefile')
-rw-r--r--package/mtd/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile
index b9f256a..99e3ad7 100644
--- a/package/mtd/src/Makefile
+++ b/package/mtd/src/Makefile
@@ -3,7 +3,7 @@
all: mtd
%.o: %.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
+ $(CC) -I. $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
mtd: mtd.o
$(CC) -o $@ $^