summaryrefslogtreecommitdiff
path: root/fw/fe310/eos
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-01-31 21:51:59 +0100
committerUros Majstorovic <majstor@majstor.org>2022-01-31 21:51:59 +0100
commitce5b6bc9faf38c7feaf5053424176d39e91c7323 (patch)
tree6b778a085a253c056eadb31797463928a8ebfd3b /fw/fe310/eos
parentdcdc68164b16831c1e5bd6bbd5fa9c0aecacf890 (diff)
fixed build
Diffstat (limited to 'fw/fe310/eos')
-rw-r--r--fw/fe310/eos/Makefile5
-rw-r--r--fw/fe310/eos/app/Makefile2
-rw-r--r--fw/fe310/eos/eve/Makefile3
-rw-r--r--fw/fe310/eos/eve/screen/Makefile3
-rw-r--r--fw/fe310/eos/eve/widget/Makefile3
-rw-r--r--fw/fe310/eos/i2c/Makefile2
6 files changed, 4 insertions, 14 deletions
diff --git a/fw/fe310/eos/Makefile b/fw/fe310/eos/Makefile
index 2bf285f..fe5bb5e 100644
--- a/fw/fe310/eos/Makefile
+++ b/fw/fe310/eos/Makefile
@@ -1,8 +1,5 @@
include ../common.mk
-
-CRYPTO_DIR = ../../../crypto
-
-CFLAGS += -I. -I../bsp/include -I../bsp/drivers -I$(CRYPTO_DIR)
+CFLAGS += -I. -I$(bsp_dir)/include -I$(bsp_dir)/drivers -I$(crypto_dir)
obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o pwr.o i2s.o i2c.o uart.o spi.o spi_dev.o lcd.o sdcard.o sdc_crypto.o cam.o net.o wifi.o cell.o sock.o unicode.o
diff --git a/fw/fe310/eos/app/Makefile b/fw/fe310/eos/app/Makefile
index e0eee28..fe0ba21 100644
--- a/fw/fe310/eos/app/Makefile
+++ b/fw/fe310/eos/app/Makefile
@@ -1,7 +1,5 @@
include ../../common.mk
-CFLAGS += -I..
-
obj = app_root.o app_status.o
diff --git a/fw/fe310/eos/eve/Makefile b/fw/fe310/eos/eve/Makefile
index 7a5351f..323a132 100644
--- a/fw/fe310/eos/eve/Makefile
+++ b/fw/fe310/eos/eve/Makefile
@@ -1,6 +1,5 @@
include ../../common.mk
-
-CFLAGS += -I.. -I../../bsp/include
+CFLAGS += -I$(bsp_dir)/include
obj = eve.o eve_eos.o eve_platform.o eve_touch.o eve_phy.o eve_vtrack.o eve_font.o eve_kbd.o eve_text.o clipb.o
diff --git a/fw/fe310/eos/eve/screen/Makefile b/fw/fe310/eos/eve/screen/Makefile
index cc4a81d..9026d43 100644
--- a/fw/fe310/eos/eve/screen/Makefile
+++ b/fw/fe310/eos/eve/screen/Makefile
@@ -1,6 +1,5 @@
include ../../../common.mk
-
-CFLAGS += -I.. -I../..
+CFLAGS += -I..
obj = window.o view.o page.o form.o
diff --git a/fw/fe310/eos/eve/widget/Makefile b/fw/fe310/eos/eve/widget/Makefile
index 95af16d..31349a8 100644
--- a/fw/fe310/eos/eve/widget/Makefile
+++ b/fw/fe310/eos/eve/widget/Makefile
@@ -1,6 +1,5 @@
include ../../../common.mk
-
-CFLAGS += -I.. -I../..
+CFLAGS += -I..
obj = label.o widget.o freew.o spacerw.o pagew.o strw.o textw.o selectw.o
diff --git a/fw/fe310/eos/i2c/Makefile b/fw/fe310/eos/i2c/Makefile
index a210898..97e4f12 100644
--- a/fw/fe310/eos/i2c/Makefile
+++ b/fw/fe310/eos/i2c/Makefile
@@ -1,7 +1,5 @@
include ../../common.mk
-CFLAGS += -I..
-
obj = bq25895.o ov2640.o