genode/repos/base-sel4/lib/mk
Martin Stein 688379d1ed sel4: fix segmentation fault with CCACHE=yes
Building the elfloader in kernel-sel4.inc has a problem with Genodes CCACHE
make variable. When issuing ...

! ./tool/depot/create mstein/bin/*/base-sel4-* CCACHE=yes

..., building the elfloader used to consume all memory of the host system and
then run into a segmentation fault:

! make[6]: *** [elfloader/elfloader.o] Segmentation fault (core dumped)

This is because the other build system invokes the CCACHE variable as a command
in front of the compiler command. If CCACHE is set to 'yes', the 'yes' command
is called and produces an endless output into some output file. The problem
can be fixed by locally re-setting the CCACHE variable for the
'make ... elfloader' command to 'ccache' (Genode CCACHE==yes) or '' (Genode
CCACHE!=yes).

Fixes #4212
2021-07-28 11:25:20 +02:00
..
spec sel4: fix segmentation fault with CCACHE=yes 2021-07-28 11:25:20 +02:00
base-sel4-common.inc Remove Rpc_entrypoint::Native_context 2020-04-21 16:50:37 +02:00
base-sel4-common.mk sel4/x86: implement vm_session interface 2019-04-01 19:33:52 +02:00
base-sel4.inc sel4: add Wandboard Quad (iMX6) support 2017-08-17 11:04:21 +02:00
core-sel4.inc init: health monitoring of child components 2018-11-27 11:36:34 +01:00
syscall-sel4.inc sel4: use kernel branch 7.0 + our mastered commits 2017-12-21 15:01:45 +01:00
syscall-sel4.mk base: remove SPEC variables of boards (fix #3971) 2021-01-25 13:58:09 +01:00