aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
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 $@ $^