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/dhry
- from Rev 393 to Rev 397
- ↔ Reverse comparison
Rev 393 → Rev 397
/dhry.c
15,7 → 15,7
**************************************************************************** |
*/ |
|
#include "or32-utils.h" |
#include "cpu-utils.h" |
#include "board.h" |
#include "dhry.h" |
#include "uart.h" |
/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 $< > $@ |
|