riscv: create_builddir support

issue #1880
This commit is contained in:
Sebastian Sumpf 2016-02-11 11:37:17 +01:00 committed by Christian Helmuth
parent 8cddd86a4c
commit 8c6e3c6251
3 changed files with 16 additions and 0 deletions

View File

@ -22,6 +22,9 @@ endif
ifeq ($(filter-out $(SPECS),arm),)
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-arm-
endif
ifeq ($(filter-out $(SPECS),riscv),)
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-riscv-
endif
#
# We use libsupc++ from g++ version 3 because

View File

@ -0,0 +1,9 @@
REPOSITORIES += $(GENODE_DIR)/repos/base-hw
##
## Kernel-specific run tool configuration
##
RUN_OPT = --include boot_dir/hw \
--include power_on/spike --include log/spike

View File

@ -38,6 +38,7 @@ usage:
@echo " 'hw_zynq'"
@echo " 'hw_x86_64'"
@echo " 'hw_x86_64_muen'"
@echo " 'hw_riscv'"
@echo " 'foc_x86_32'"
@echo " 'foc_x86_64'"
@echo " 'foc_pbxa9'"
@ -263,6 +264,9 @@ hw_x86_64::
hw_x86_64_muen::
@echo "SPECS = genode hw_x86_64_muen" > $(BUILD_DIR)/etc/specs.conf
hw_riscv::
@echo "SPECS = genode hw_riscv" > $(BUILD_DIR)/etc/specs.conf
$(PLATFORM)::
@echo "Successfully created build directory at $(BUILD_DIR)."
@echo "Please adjust $(BUILD_DIR)/etc/build.conf according to your needs."