Move the check if arm-mem should be included from virtual/libc
to config/options and set the ARM_MEM_SUPPORT variable accordingly.
This makes it possible to opt-out of using arm-mem which can
be helpful for performance testing and debugging (eg valgrind
doesn't play nicely with it).
Signed-off-by: Matthias Reichl <hias@horus.com>
ARMv8.0-A cpus have an optional LSE feature. This is mandatory in
ARMv8.1-A. By default, gcc will attempt to build support for runtime
detection of the LSE feature on ARMv8.0-A. This causes build failures
when attempting to create a 64-bit userland.
Test packages for this failure include gdb and mesa. Errors manifest
as undefined references to "__aarch64_cas4_acq_rel" or
"__aarch64_swp4_acq_rel" at compile time.
Disable runtime detection to always use its fallback by adding
-mno-outline-atomics to cflags.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
FUNCNAME[0] is a bash builtin that corresponds to the name of the currently executing
function. Functions called in bare scripts are in the main() function. Bare scripts
being sourced are in the source() function.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Order is roughly:
How is the buildsystem for the image set up
What hardware support is being added
What filesystems will be supported
What Network services are available
Who is providing the graphics and their setup
How does it boot / login
Distribution configuration
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Split Kodi configuration messages into hardware / software sections. Hardware is how
other software is being built to accomodate Kodi needs (ie what provides video accel).
Software is the configure options to Kodi.
Kodi version just outputs the velue of $MEDIACENTER, which will always be "kodi".
Change to who the "upstream" is for the version of Kodi we're using is instead.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Add SPLIT_DEBUG_INFO option, when it's set to yes the debug info is
stored in separate .dwo files.
This is mainly useful for remote debugging and reduces image size a lot.
See also https://gcc.gnu.org/wiki/DebugFission
Signed-off-by: Matthias Reichl <hias@horus.com>
Several packages call safe_remove with a wildcard to remove
multiple files but safe_remove only deleted the first one.
Fix this by iterating over all arguments passed into safe_remove
so unwanted files don't end up in the image.
Signed-off-by: Matthias Reichl <hias@horus.com>