mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
2f9d430c00
This patch adds support for running Genode/Linux on the AARCH64 architecture. - The kernel-agnostic startup code (crt0) had to be extended to capture the initial stack pointer, which the Linux kernel uses to pass the process environment. This is in line with the existing startup code for x86_32 and x86_64. - The link order of the host libraries linked to lx_hybrid programs had to be adjusted such that libgcc appears at last because the other libraries depend on symbols provided by libgcc. - When using AARCH64 Linux as host, one can execute run scripts via 'make run/<script> KERNEL=linux BOARD=linux' now. Issue #4136
18 lines
450 B
Makefile
18 lines
450 B
Makefile
.DEFAULT_GOAL := seccomp_bpf_filters
|
|
|
|
ARCHS := x86_32 x86_64 arm_32 arm_64
|
|
|
|
seccomp_bpf_filters: $(foreach A,$(ARCHS),seccomp_bpf_policy_$A.bin)
|
|
|
|
seccomp_bpf_policy_%.bin: seccomp_bpf_compiler_%.prg
|
|
./$< > $@
|
|
|
|
seccomp_bpf_compiler_%.prg: seccomp_bpf_compiler_%.cc seccomp_bpf_compiler.h
|
|
@g++ $< -o $@ -lseccomp
|
|
|
|
clean:
|
|
@rm seccomp_bpf_policy_*.bin 2> /dev/null; true
|
|
@rm seccomp_bpf_compiler_*.prg 2> /dev/null; true
|
|
|
|
.PHONY: seccomp_bpf_filters
|