summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/drivers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/bsp/drivers/Makefile')
-rw-r--r--fw/fe310/bsp/drivers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/bsp/drivers/Makefile b/fw/fe310/bsp/drivers/Makefile
index 14fed05..1fb45ba 100644
--- a/fw/fe310/bsp/drivers/Makefile
+++ b/fw/fe310/bsp/drivers/Makefile
@@ -1,5 +1,5 @@
include ../../common.mk
-CFLAGS += -I../include -include sys/cdefs.h
+CFLAGS += -I$(bsp_dir)/include -include sys/cdefs.h
%.o: %.c
$(CC) $(CFLAGS) -c $<