mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-02 01:08:13 +00:00
11c31c4432
We set 'ld -z max-page-size' to 4KiB to prevent the linker from aligning the text segment to any built-in default (e.g., 4MiB on x86_64 or 64KiB on ARM). Otherwise, the padding bytes are wasted at the beginning of the final binary.
This directory contains the build system. In consists mainly of makefile templates for different directory roles. :'global.mk': This file contains global variables, for example the definitions of the tools to use. :'generic.mk': Generic rules for creating file types from others. :'prg.mk': This file represents the target binary role of a directory. It must be included by all makefiles that build programs. :'lib.mk': This file represents a library role. It is never used from within the 'src/' directory but only from the <libname>.mk files in 'lib/mk/'.