From dbb4fea690017cb9735ca4a6802f8f2fa3a8e951 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 2 Feb 2022 07:36:56 +0100 Subject: fsfat moved to ext dir --- fw/fe310/bsp/drivers/Makefile | 2 +- fw/fe310/bsp/gloss/Makefile | 2 +- fw/fe310/bsp/metal/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fw/fe310/bsp') 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 $< diff --git a/fw/fe310/bsp/gloss/Makefile b/fw/fe310/bsp/gloss/Makefile index 4376dce..168c9fc 100644 --- a/fw/fe310/bsp/gloss/Makefile +++ b/fw/fe310/bsp/gloss/Makefile @@ -1,5 +1,5 @@ include ../../common.mk -CFLAGS += -I../include +CFLAGS += -I$(bsp_dir)/include src = sys_access.c sys_chdir.c sys_chmod.c sys_chown.c sys_close.c sys_execve.c sys_exit.c sys_faccessat.c sys_fork.c sys_fstat.c sys_fstatat.c sys_ftime.c sys_getcwd.c sys_getpid.c \ sys_isatty.c sys_kill.c sys_link.c sys_lseek.c sys_lstat.c sys_open.c sys_openat.c sys_read.c sys_sbrk.c sys_stat.c sys_sysconf.c sys_unlink.c sys_utime.c sys_wait.c sys_write.c diff --git a/fw/fe310/bsp/metal/Makefile b/fw/fe310/bsp/metal/Makefile index 32acfd2..962d3bc 100644 --- a/fw/fe310/bsp/metal/Makefile +++ b/fw/fe310/bsp/metal/Makefile @@ -1,5 +1,5 @@ include ../../common.mk -CFLAGS += -I../include -I../drivers +CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers %.o: %.c $(CC) $(CFLAGS) -c $< -- cgit v1.2.3