genode/repos/base-hw/lib/mk/spec/arm_v8
Martin Stein ad059362d2 base-hw: reduce hardware-specific include paths
For base-hw Core, we used to add quite some hardware-specific include paths
to 'INC_DIR'. Generic code used to include, for instance, '<cpu.h>' and
'<translation_table.h>' using these implicit path resolutions. This commit
removes hardware-specific include paths except for

1) the '<board.h>' include paths (e.g., 'src/core/board/pbxa9'),
2) most architecture-specific include paths (e.g., 'src/core/spec/arm_v7'),
3) include paths that reflect usage of virtualization or ARM Trustzone
   (e.g., 'src/core/spec/arm/virtualization').

The first category is kept because, in contrast to the former "spec"-mechanism,
the board variable used for this type of resolution is not deprecated and the
board headers are meant to be the front end of hardware-specific headers
towards generic code which is why they must be available generically via
'<board.h>'.

The second category is kept because it was suggested by other maintainers that
simple arch-dependent headers (like for the declaration of a CPU state) should
not imply the inclusion of the whole '<board.h>' and because the architecture
is given also without the former "spec"-mechanism through the type of the build
directory. I think this is questionable but am fine with it.

The third category is kept because the whole way of saying whether
virtualization resp. ARM Trustzone is used is done in an out-dated manner and
changing it now would blow up this commit a lot and exceed the time that I'm
willing to spend. This category should be subject to a future issue.

Ref #4217
2021-10-13 14:46:53 +02:00
..
bootstrap-hw-imx8q_evk.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
bootstrap-hw-rpi3.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
bootstrap-hw-virt_qemu.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
core-hw-imx8q_evk.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
core-hw-rpi3.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
core-hw-virt_qemu.mk base-hw: simplify board support in external repo 2021-01-25 13:58:10 +01:00
core-hw.inc base-hw: reduce hardware-specific include paths 2021-10-13 14:46:53 +02:00
ld-hw.mk hw: support for ARM64 Raspberry Pi 3 2019-07-09 08:55:22 +02:00