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
- from Rev 466 to Rev 468
- ↔ Reverse comparison
Rev 466 → Rev 468
/Makefile.inc
48,10 → 48,16
|
# If BOARD_PATH is set, we'll first scan that path for which drivers they have |
# and will override any locally named driver directories here. |
ifdef BOARD_PATH |
#$(info BOARD_PATH is being used: $(BOARD_PATH)) |
BOARD_SPECIFIC_DRIVERS=$(shell if [ -e $(BOARD_PATH)/sw/drivers ]; then ls $(BOARD_PATH)/sw/drivers; fi) |
BOARD_SW_TESTS=$(shell if [ -e $(BOARD_PATH)/sw/tests ]; then ls $(BOARD_PATH)/sw/tests; fi) |
ifdef BOARD |
BOARD_PATH=$(SW_ROOT)/../boards/$(BOARD) |
#$(info BOARD is being used: $(BOARD_PATH)) |
BOARD_SPECIFIC_DRIVERS=$(shell if [ -e \ |
$(BOARD_PATH)/sw/drivers ]; then \ |
ls $(BOARD_PATH)/sw/drivers; \ |
fi) |
BOARD_SW_TESTS=$(shell if [ -e $(BOARD_PATH)/sw/tests ]; then\ |
ls $(BOARD_PATH)/sw/tests; \ |
fi) |
endif |
|
COMMON_SW_DRIVERS=$(shell ls $(SW_ROOT)/drivers ) |
/lib/Makefile
14,3 → 14,11
|
clean: |
$(Q)rm -f *.a *.o |
|
# Special rule to help simulation Makefile compile VMEMs from ELFs passed via |
# the USER_ELF variable |
$(USER_ELF_BIN): $(USER_ELF) |
$(Q)$(OR32_OBJCOPY) -O binary $< $@ |
$(USER_ELF_VMEM): $(USER_ELF_BIN) $(UTILS_BIN2VMEM) |
$(Q)$(UTILS_BIN2VMEM) $< > $@ |
gen-user-elf-vmem: $(USER_ELF_VMEM) |