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:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user