mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
fa68325a57
This patch simplifies the packaging of the base-hw kernel for a given board, in particular when the board support is hosted as an external repository such as genode-world. Regardless of where the board-support is hosted, the content.mk file becomes as simple as: include $(GENODE_DIR)/repos/base-hw/recipes/src/base-hw_content.inc The board name is automatically inferred from the path of the src recipe. The architecture is determined from board/<name>/arch files, following the pattern of the image_link_address. The attempt to build a base-hw-<board> binary archive for the wrong architecture is now gracefully handled by skipping all targets (using the REQUIRES mechanism). Besides the improved convenience, the patch results in depot archives that are much closer tailored to the actual board by omitting files for architectures that are not used by the board. E.g., the src/base-hw-pc archive does not contain any ARM-related content. The patch also restores the package builds for core/bootstrap object files as a follow-up fix of "base: remove SPEC variables of boards", which happened to left 'BOARD' undefined in the src archives. Fixes #4019 |
||
---|---|---|
.. | ||
imx6q_sabrelite | ||
imx7d_sabre | ||
imx8q_evk | ||
imx53_qsb | ||
imx53_qsb_tz | ||
nit6_solox | ||
pbxa9 | ||
pc | ||
riscv_qemu | ||
rpi | ||
rpi3 | ||
usb_armory | ||
virt_qemu | ||
wand_quad | ||
zynq_qemu |