aboutsummaryrefslogtreecommitdiffstats
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
commit4501909797f98dad18de0911c2a56ed6ff0afd76 (patch)
tree2a052c70a610c9dd3774a0d0c2df50d16e1b4229 /package/mtd/src/Makefile
parent88c16a5395c3f0056f9899e843e65bf76d8bd704 (diff)
downloadupstream-4501909797f98dad18de0911c2a56ed6ff0afd76.tar.gz
upstream-4501909797f98dad18de0911c2a56ed6ff0afd76.tar.bz2
upstream-4501909797f98dad18de0911c2a56ed6ff0afd76.zip
fix mtd compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5505 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 b9f256ad0c..99e3ad7920 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 $@ $^