1
0
forked from me/IronOS

TS100: fix make dependency computation

Change the generated targets to be the actual object files to be build.
Previously the target name was the dependency file itself. As no other
targets required the dependency file, those computed dependencies were
never used.
This commit is contained in:
Thomas Weißschuh
2021-01-16 11:37:15 +01:00
parent a66ff001d8
commit d5a866f88c

View File

@@ -85,8 +85,8 @@ CPUFLAGS= -march=rv32imac \
DEV_LDFLAGS= -lstdc++ -nostartfiles -Xlinker --gc-sections --specs=nosys.specs -u _isatty -u _write -u _sbrk -u _read -u _close -u _fstat -u _lseek
DEV_AFLAGS= -nostartfiles -ffreestanding -fno-common -Os -flto
DEV_GLOBAL_DEFS=
DEV_CFLAGS= -MMD -MP -MF "$(@:%.o=%.d)" -MT "$(@:%.o=%.d)"
DEV_CXXFLAGS= -MMD -MP -MF "$(@:%.o=%.d)" -MT "$(@:%.o=%.d)"
DEV_CFLAGS= -MMD -MP -MF "$(@:%.o=%.d)" -MT "$@"
DEV_CXXFLAGS= -MMD -MP -MF "$(@:%.o=%.d)" -MT "$@"
endif
INCLUDES = -I$(APP_INC_DIR) \