diff options
| author | Uros Majstorovic <majstor@majstor.org> | 2022-03-30 13:22:19 +0200 | 
|---|---|---|
| committer | Uros Majstorovic <majstor@majstor.org> | 2022-03-30 13:22:19 +0200 | 
| commit | c6962c5700f99441538dafa346626bb7e6d12488 (patch) | |
| tree | f463808368735c290312b7bff906f2599293d0ac /fw/fe310/test/Makefile | |
| parent | 0a5f8363fe4e6b3c7d4f17fde61e00ab63e43bcb (diff) | |
sock api fixed; net reply messages fixed
Diffstat (limited to 'fw/fe310/test/Makefile')
| -rw-r--r-- | fw/fe310/test/Makefile | 14 | 
1 files changed, 9 insertions, 5 deletions
| diff --git a/fw/fe310/test/Makefile b/fw/fe310/test/Makefile index 3b32c73..5e708ed 100644 --- a/fw/fe310/test/Makefile +++ b/fw/fe310/test/Makefile @@ -1,20 +1,24 @@  include ../common.mk -CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers -I$(ext_dir)/crypto -LDFLAGS = $(CFLAGS) -L.. -Wl,--gc-sections -nostartfiles -nostdlib -Wl,--start-group -lc -lm -lgcc -leos -Wl,--end-group -T../bsp/default.lds +CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers -I$(ext_dir)/crypto -I$(ext_dir)/fsfat -I$(ecp_dir)/src -I$(ecp_dir)/src/platform/fe310 -I.. +LDFLAGS = app/*.o $(CFLAGS) -L.. -L$(ecp_dir)/build-fe310 -Wl,--gc-sections -nostartfiles -nostdlib -Wl,--start-group -lc -lm -lgcc -leos -lecp -lecpcr -lecptr -lecptm -lecpdir -lecpvconn -Wl,--end-group -T../bsp/default.lds -DEPS = main.o status.o cell_dev.o cell_pdp.o phone.o modem.o wifi.o cam.o audio.o test.o -# DEPS = main.o status.o cell_dev.o cell_pdp.o phone.o modem.o wifi.o cam.o fs.o test.o +DEPS = main.o mem.o cell_dev.o cell_pdp.o phone.o modem.o wifi.o cam.o fs.o ecp.o ecp_init.o audio.o test.o  TARGET = phone +  all: $(TARGET) +app_: +	(cd app && $(MAKE)) || exit; +  %.o: %.c  	$(CC) $(CFLAGS) -c $< -$(TARGET): $(DEPS) +$(TARGET): app_ $(DEPS)  	$(CC) $(DEPS) $(LDFLAGS) -o $@  clean: +	(cd app && $(MAKE) clean) || exit;  	rm -f *.o *.a $(TARGET)  upload: $(TARGET) | 
