summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/Makefile.common
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-10 18:44:19 -0800
committerJosh Blum <josh@joshknows.com>2010-02-10 18:44:19 -0800
commit6c7d9f1f7573fc73522499573560bf1aef64f414 (patch)
tree5b63082d9b9c109ab2059c415f77935a9385cc81 /firmware/microblaze/Makefile.common
parent2b6c895b4f9916a06b14c40f545c9b4e53141c9a (diff)
downloaduhd-6c7d9f1f7573fc73522499573560bf1aef64f414.tar.gz
uhd-6c7d9f1f7573fc73522499573560bf1aef64f414.tar.bz2
uhd-6c7d9f1f7573fc73522499573560bf1aef64f414.zip
removed unwanted/broken files
Diffstat (limited to 'firmware/microblaze/Makefile.common')
-rw-r--r--firmware/microblaze/Makefile.common12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/microblaze/Makefile.common b/firmware/microblaze/Makefile.common
index b67f5d02b..cb09f7f9d 100644
--- a/firmware/microblaze/Makefile.common
+++ b/firmware/microblaze/Makefile.common
@@ -48,14 +48,14 @@ AM_CFLAGS = $(STD_CFLAGS) $(MB_CFLAGS)
#AM_LDFLAGS = -Wl,-T,$(LINKER_SCRIPT) -Wl,-defsym -Wl,_STACK_SIZE=1024
#AM_LDFLAGS = -Wl,-T,$(LINKER_SCRIPT) -Wl,-Map -Wl,$@.map
#AM_LDFLAGS = -Wl,-T,$(LINKER_SCRIPT)
-AM_LDFLAGS = -Wl,-Map -Wl,$@.map -Wl,-defsym -Wl,_STACK_SIZE=3072
+AM_LDFLAGS = -Wl,-Map -Wl,$(@:.elf=.map) -Wl,-defsym -Wl,_STACK_SIZE=3072
#AM_LDFLAGS = -Wl,-defsym -Wl,_STACK_SIZE=2048
-%.bin : %
+%.bin : %.elf
mb-objcopy -O binary $< $@
-%.dump : %
+%.dump : %.elf
mb-objdump -DSC $< > $@
%.rom : %.bin
@@ -65,9 +65,9 @@ AM_LDFLAGS = -Wl,-Map -Wl,$@.map -Wl,-defsym -Wl,_STACK_SIZE=3072
#.PRECIOUS : %.bin
-BINS = $(noinst_PROGRAMS:=.bin)
-ROMS = $(noinst_PROGRAMS:=.rom)
-DUMPS = $(noinst_PROGRAMS:=.dump)
+BINS = $(noinst_PROGRAMS:.elf=.bin)
+ROMS = $(noinst_PROGRAMS:.elf=.rom)
+DUMPS = $(noinst_PROGRAMS:.elf=.dump)
noinst_DATA = $(BINS) $(ROMS) $(DUMPS)