tool: deprecate board-specific build directories
* Introduces BOARD variable to determine actual board
* Removes formerly deprecated kernel-specific build directories
The following boards are available:
arm_v6: rpi
arm_v7a: arndale, imx53_qsb, imx53_qsb_tz, imx6q_sabrelite, imx7d_sabre,
nit6_solox, odroid_x2, odroid_xu, panda, pbxa9, usb_armory,
wand_quad, zynq_qemu
x86_64: pc, linux, muen
x86_32: pc, linux
riscv: spike
Ref #3316
2019-04-11 14:24:33 +00:00
|
|
|
# kernel to use (nova, hw, sel4, linux, or foc)
|
|
|
|
#KERNEL ?= nova
|
|
|
|
|
|
|
|
# board to use (pc, linux, or muen)
|
|
|
|
BOARD ?= pc
|
|
|
|
|
2019-06-13 12:35:33 +00:00
|
|
|
# local variable for run-tool arguments that depend on the used board
|
tool: deprecate board-specific build directories
* Introduces BOARD variable to determine actual board
* Removes formerly deprecated kernel-specific build directories
The following boards are available:
arm_v6: rpi
arm_v7a: arndale, imx53_qsb, imx53_qsb_tz, imx6q_sabrelite, imx7d_sabre,
nit6_solox, odroid_x2, odroid_xu, panda, pbxa9, usb_armory,
wand_quad, zynq_qemu
x86_64: pc, linux, muen
x86_32: pc, linux
riscv: spike
Ref #3316
2019-04-11 14:24:33 +00:00
|
|
|
BOARD_RUN_OPT(muen) = --include image/muen
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-hardware hardware/lenovo-t430s.xml
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-platform platform/lenovo-t430s.xml
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-gnat-path /opt/gnat
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-spark-path /opt/spark
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-system xml/genode-base_hw.xml
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-components 'libdebuglog libmudm libmutime libxhcidbg dbgserver sm time'
|
|
|
|
BOARD_RUN_OPT(muen) += --image-muen-external-build 0
|
|
|
|
BOARD_RUN_OPT(linux) = --include power_on/linux --include log/linux
|
|
|
|
BOARD_RUN_OPT(pc) = $(QEMU_RUN_OPT)
|
|
|
|
|