mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 01:11:06 +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 |
||
---|---|---|
.. | ||
arch | ||
image_link_address |