URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/orpsocv2/sw/apps
- from Rev 393 to Rev 397
- ↔ Reverse comparison
Rev 393 → Rev 397
/testfloat/Makefile
17,9 → 17,11
|
ELF_DEPENDS= $(common_testfloat_sources) $(testfloat_SOURCES) |
|
include ../Makefile.inc |
SW_ROOT=../.. |
|
include $(SW_ROOT)/Makefile.inc |
|
|
#testfloat.elf: |
# $(Q)$(OR32_CC) $^ -o $@ |
|
/dhry/dhry.c
15,7 → 15,7
**************************************************************************** |
*/ |
|
#include "or32-utils.h" |
#include "cpu-utils.h" |
#include "board.h" |
#include "dhry.h" |
#include "uart.h" |
/dhry/Makefile
1,28 → 1,14
.PHONY: dhry.vmem |
.PHONY: dhry.bin |
SW_ROOT=../.. |
|
include ../Makefile.inc |
# Force it to be regenerated each time, as the NUM_RUNS is likely to be changed |
|
NUM_RUNS ?= 10 |
|
OR32_CFLAGS += -DNUM_RUNS=$(NUM_RUNS) |
include $(SW_ROOT)/Makefile.inc |
|
NUM_RUNS ?= 10 |
|
# Have our specific make rules here, so each time we run it gets compiled. |
# This is useful as the NUM_RUNS variable can change from build to build. |
OR32_CFLAGS+= -DNUM_RUNS=$(NUM_RUNS) |
|
.PHONY: dhry.vmem |
dhry.vmem: dhry.bin $(UTILS_BIN2VMEM) |
$(Q)$(UTILS_BIN2VMEM) $< > $@ |
|
.PHONY: dhry.bin |
dhry.bin: dhry.elf |
$(Q)$(OR32_OBJCOPY) -O binary $< $@ |
|
.PHONY: dhry.elf |
dhry.elf: dhry.c $(ELF_DEPENDS) |
$(Q)$(OR32_CC) $^ $(OR32_CFLAGS) $(OR32_LDFLAGS) -o $@ |
|
%.dis: %.elf |
$(Q)$(OR32_OBJDUMP) -d $< > $@ |
|
/spiflash/Makefile
21,6 → 21,8
# author: julius.baxter@orsoc.se |
# |
|
SW_ROOT=../.. |
|
#PROGRAMMINGFILE= |
PROGRAMMINGFILE_SWBIN=progfile.swbin # Binary file with sizeword |
PROGRAMMINGFILE_DATA=progfile.o |
27,8 → 29,10
|
ELF_DEPENDS +=$(PROGRAMMINGFILE_DATA) |
|
include ../Makefile.inc |
|
|
include $(SW_ROOT)/Makefile.inc |
|
OR32_LDFLAGS = -lgcc -Tspiflash-program.ld -e 256 |
|
../utils/bin2binsizeword: |