From d5a866f88c6a620f7843d3845ddc67885aae4453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 16 Jan 2021 11:37:15 +0100 Subject: [PATCH] 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. --- workspace/TS100/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/TS100/Makefile b/workspace/TS100/Makefile index 9f0e98e3..e5abf41e 100644 --- a/workspace/TS100/Makefile +++ b/workspace/TS100/Makefile @@ -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) \