diff options
author | Bert Lange <b.lange@fzd.de> | 2010-12-06 08:10:22 +0100 |
---|---|---|
committer | Bert Lange <b.lange@fzd.de> | 2010-12-06 08:10:22 +0100 |
commit | 7fd6788ad40eff6be2a9827658c1295346d826b1 (patch) | |
tree | 13275c4cefad154e51ed3e3c13f868d89b237666 /s3estarter | |
parent | 9a7d1f41f4b12a318e7f8e8447e0d753e1ff48a4 (diff) | |
download | zpu-7fd6788ad40eff6be2a9827658c1295346d826b1.zip zpu-7fd6788ad40eff6be2a9827658c1295346d826b1.tar.gz |
add: dependency to libhal
Diffstat (limited to 's3estarter')
-rw-r--r-- | s3estarter/software/ethernet_speed/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/s3estarter/software/ethernet_speed/Makefile b/s3estarter/software/ethernet_speed/Makefile index 4ad0619..3441abb 100644 --- a/s3estarter/software/ethernet_speed/Makefile +++ b/s3estarter/software/ethernet_speed/Makefile @@ -20,12 +20,17 @@ $(test_vhdl): greth.bin $(ROMGEN) %.bin: %.elf $(OBJCOPY) $(OBJCOPY_OPTIONS) -O binary $< $@ -%.elf: $(c_files) +%.elf: $(c_files) libhal $(CC) $(COMPILER_OPTIONS) -O3 -phi $(c_files) -o $@ -Wl,--relax -Wl,--gc-sections -Wl,-lhal -Wl,-L$(DIR)/libhal -g | ccze -A $(OBJDUMP) -D -S greth.elf > greth.lst $(SIZE) $@ +libhal: + cd ../libhal; make + clean: rm -f *.o rm -f *.elf rm -f *.bin + +.phony: libhal |