summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/init/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-04 18:07:29 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-04 18:07:29 +0200
commit15419dae8386c976b3b93493c7b01f169423ba58 (patch)
treef42873a951eb8850002028ea155caf1b9d70a378 /fw/fe310/bsp/init/Makefile
parenta019386dd1ebae0f0b2c01bf0218baa3e6bfd692 (diff)
init routines cleanup
Diffstat (limited to 'fw/fe310/bsp/init/Makefile')
-rw-r--r--fw/fe310/bsp/init/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/fw/fe310/bsp/init/Makefile b/fw/fe310/bsp/init/Makefile
new file mode 100644
index 0000000..2df25e7
--- /dev/null
+++ b/fw/fe310/bsp/init/Makefile
@@ -0,0 +1,13 @@
+include ../../common.mk
+CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: entry.o
+
+clean:
+ rm -f *.o