summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/drv/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-02-16 20:11:47 +0100
committerUros Majstorovic <majstor@majstor.org>2025-02-16 20:11:47 +0100
commit064631db87182694459056ceeb331506b553d0f0 (patch)
treed1113214d11a6f407548c4f16008adb1e7c73475 /fw/fe310/eos/dev/drv/Makefile
parentaeb896b55c384d7f9a6e9a29f74cf560c6392c5b (diff)
drivers made independent from microcontroller/os
Diffstat (limited to 'fw/fe310/eos/dev/drv/Makefile')
-rw-r--r--fw/fe310/eos/dev/drv/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/drv/Makefile b/fw/fe310/eos/dev/drv/Makefile
new file mode 100644
index 0000000..c9b39bd
--- /dev/null
+++ b/fw/fe310/eos/dev/drv/Makefile
@@ -0,0 +1,16 @@
+include ../../../common.mk
+CFLAGS += -I$(bsp_dir)/include
+
+obj = sdcard.o arducam.o apds9151.o bq25895.o fxl6408.o gt911.o ili9806e.o ov2640.o pcm1770.o tps61052.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o $(lib)