← Back to team overview

t-kernel team mailing list archive

[PATCH] Makefile: rename tm to tkernel

 

From: Du Huanpeng <u74147@xxxxxxxxx>

Signed-off-by: Du Huanpeng <u74147@xxxxxxxxx>
---
 tkernel_source/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tkernel_source/Makefile b/tkernel_source/Makefile
index 9a3513b..1ec8ca1 100644
--- a/tkernel_source/Makefile
+++ b/tkernel_source/Makefile
@@ -189,14 +189,14 @@ all: tkernel
 tkernel: $(OBJ)
 	@$(CROSS_COMPILE)gcc $^ -o $@ $(INCLUDE) -T$(LDS) -nostdlib -lgcc
 	@echo	"     LD\t"	$@
-	@$(CROSS_COMPILE)objdump -DS $@ >tm.S
-	@echo	"    DIS\t"	tm.S
+	@$(CROSS_COMPILE)objdump -DS $@ >$@.S
+	@echo	"    DIS\t"	$@.S
 	@$(CROSS_COMPILE)objcopy -O binary $@ Image
 	@xz -zf9k Image
 	@echo	"OBJDUMP\t" "Image"
 	@$(COPY) Image $(TFTPBOOT)
-	@$(CROSS_COMPILE)nm $@ >tm.map
-	@echo   " SYSMAP\t"	tm.map
+	@$(CROSS_COMPILE)nm $@ >$@.map
+	@echo   " SYSMAP\t"	$@.map
 
 clean:
 ifeq ($(HOST),windows)
@@ -209,3 +209,4 @@ endif
 prepare:
 	@sed 's/^SRC/OBJ/g' Makefile.src | sed 's/[cS]$$/o/g' >Makefile.obj
 	@echo	"   GEN\tMakefile: " $(MACH)
+
-- 
1.9.1