File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ include $(TOP)/py/py.mk
99
1010CROSS_COMPILE = arm-none-eabi-
1111
12+ TINYTEST = $(TOP ) /lib/tinytest
13+
1214INC += -I.
1315INC += -I$(TOP )
1416INC += -I$(BUILD )
15- INC += -I$(TOP ) /tools/tinytest/
17+ INC += -I$(TINYTEST )
1618
1719CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3 -mfloat-abi=soft
1820CFLAGS = $(INC ) -Wall -Wpointer-arith -Werror -std=gnu99 $(CFLAGS_CORTEX_M3 ) $(COPT ) \
@@ -101,7 +103,7 @@ $(BUILD)/genhdr/tests.h:
101103 $(Q ) echo " Generating $@ " ; (cd $( TOP) /tests; ../tools/tinytest-codegen.py) > $@
102104
103105$(BUILD ) /tinytest.o :
104- $(Q )$(CC ) $(CFLAGS ) -DNO_FORKING -o $@ -c $(TOP ) /tools/tinytest /tinytest.c
106+ $(Q )$(CC ) $(CFLAGS ) -DNO_FORKING -o $@ -c $(TINYTEST ) /tinytest.c
105107
106108# # `$(LD)` doesn't seem to like `--specs` for some reason, but we can just use `$(CC)` here.
107109$(BUILD ) /firmware.elf : $(OBJ_COMMON ) $(OBJ_RUN )
You can’t perform that action at this time.
0 commit comments