dslinux/toolchain/ndstool/Loader Makefile

stsp stsp at user.in-berlin.de
Mon Aug 14 12:13:56 CEST 2006


Update of /cvsroot/dslinux/dslinux/toolchain/ndstool/Loader
In directory antilope:/tmp/cvs-serv4030/Loader

Modified Files:
	Makefile 
Log Message:
Don't hide build commands.

Make sure that cross-compile objcopy is used.
Fixes build problem on Linux/sparc64.


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/toolchain/ndstool/Loader/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	13 Aug 2006 20:25:29 -0000	1.1
+++ Makefile	14 Aug 2006 10:13:54 -0000	1.2
@@ -3,16 +3,16 @@
 all: build loadme.bin
 
 loadme.bin: build/loader.elf
-	@$(OBJCOPY) $< -O binary $@
+	$(CROSS)$(OBJCOPY) $< -O binary $@
 
 build/loader.elf: loader.s
-	@$(CC) -Wall -o $@ $< -Ttext 0x080000C0 -nostdlib
+	$(CC) -Wall -o $@ $< -Ttext 0x080000C0 -nostdlib
 
 .PHONY: build clean
 
 build:
-	@[ -d $@ ] || mkdir -p $@
+	[ -d $@ ] || mkdir -p $@
 
 clean:
 	@echo clean ...
-	@rm -fr build loadme.bin
+	rm -fr build loadme.bin




More information about the dslinux-commit mailing list