Commit graph

1085 commits

Author SHA1 Message Date
Ian Leonard
9bc5b38884 show_config: add information on TARGET_KERNEL_ARCH
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
0f0506af5d buildsystem: move TARGET_KERNEL_PATCH_ARCH to config/arch.ARCH
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
0bb989879e show_config: not all devices will have TARGET_FPU set
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
6ed29b1e4b config: set architecture TARGET_FEATURES in config/arch.ARCH
Should PROJECT or DEVICE options set TARGET_FEATURES, tack them on
instead of overwriting them.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-20 19:39:44 +00:00
Ian Leonard
e480a7ecd0 config: source config/arch.ARCH in options instead of path
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-20 19:39:44 +00:00
Alex Bee
f88d19b575 buildsystem: introduce $TARGET_KERNEL_PATCH_ARCH 2021-06-11 18:06:58 +02:00
Chad Wagner
2fef238f35
Revert "gperftools: fix for release files"
Revert "gperftools: add package providing tcmalloc_minimal"
Revert "Add TCMALLOC_SUPPORT parameter to add libtcmalloc_minimal to the image"

This reverts commits:
85e3d8d4e0
780c7a3db0
d6d915d0cc
2021-06-05 19:09:06 +00:00
Tomáš Kelemen (vudiq)
de1dd0d394 Merge 'libreelec/master' up to 9.95.4 2021-06-03 08:04:37 +02:00
Ian Leonard
c21412e1bd config/functions: drop unused fix_module_depends funnction
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-05-28 03:06:17 +00:00
Ian Leonard
ae65d1dd39 tools/viewconfig: initial commit
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-05-28 03:06:17 +00:00
kszaq
d6d915d0cc Add TCMALLOC_SUPPORT parameter to add libtcmalloc_minimal to the image 2021-05-22 14:19:46 +02:00
Tomáš Kelemen (vudiq)
49c06b1b42 make Lakka default DISTRO 2021-04-10 19:50:08 +02:00
Tomáš Kelemen (vudiq)
b3a98f20c2 show_config: display VULKAN support 2021-04-05 13:18:29 +02:00
Tomáš Kelemen (vudiq)
546e4de331 Generic: add vulkan support 2021-04-05 00:55:01 +02:00
Tomáš Kelemen (vudiq)
7572b81bfc Lakka: drop nvidia drivers, use nouveau 2021-04-05 00:55:01 +02:00
Tomáš Kelemen (vudiq)
59b5bc23f1 noobs: partition setup script - other distros
adapted the script for use with other distros, includes already message
adapted for Lakka
2021-04-05 00:55:01 +02:00
Tomáš Kelemen (vudiq)
7779cb7f32 path: option to exclude version in build folder
build folders can be reused between versions, very useful in cases where
the version number change (e.g. Major.Minor => Major.Minor+1) is only
cosmetic and there is no real need to rebuild all packages/toolchain.
2021-04-05 00:55:01 +02:00
Arthur Liberman
f5e7a83c88
glib: fix build on an aarch64 system for ARCH=arm 2021-03-27 17:31:09 +03:00
heitbaum
a1ce9ca5c5 toolchain: enable correct handling of cmake-make in check_toolchain_config 2021-03-26 09:44:10 +00:00
smp79
c16261a5b0 Remove redundant ARCH specific *FLAGS 2021-03-19 20:34:52 +03:00
Wolfgang Haupt
bcfe027fc9 buildsystem: fix building meson:init 2021-03-03 14:57:04 +01:00
Matthias Reichl
3169ae8a9f config/options: add ARM_MEM_SUPPORT option to control arm-mem inclusion
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>
2021-02-09 16:07:09 +01:00
heitbaum
bbcf591e66 aarch64: add TARGET_CPU option cortex-a73.cortex-a53
These are the cpus used in Odroid N2/N2+ and Khadas VIM3

A311D/S922X-B/S922X - cortex-a73.cortex-a53
2021-01-30 08:31:29 +00:00
Portisch
7e418be01c config|scripts: keep source more generic 2021-01-26 16:26:56 +01:00
CvH
15d63b18e2
Merge pull request #4995 from antonlacon/le10-build-minors
buildsystem: minors
2021-01-23 09:26:17 +01:00
Ian Leonard
c03d5ddc41 options: convert embedded python to fstrings
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-18 01:14:42 +00:00
Ian Leonard
c450cea34d config/path: fix indent
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-18 01:14:21 +00:00
mglae
c03f7a75a2 build: check package for wrong toolchain configured 2021-01-08 20:13:02 +01:00
Michael Klein
9862b955e2 Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1
This closes #4737
2020-12-11 23:59:08 +01:00
Ian Leonard
8d04ffe5da exfat-fuse: remove package to make way for mainline driver
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-11-11 17:25:23 +00:00
Matthias Reichl
bfc7ced30b
Merge pull request #4370 from CvH/10.0/addon-cleanup
addons: drop dependency to LE
2020-09-13 20:49:52 +02:00
Ian Leonard
148f1d563c arch.aarch64: don't attempt to use the LSE cpu feature
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>
2020-09-07 17:44:43 +00:00
CvH
021ff47f3c distro/addons: drop requirement for os.libreelec.tv 2020-09-06 18:20:10 +02:00
CvH
8d9d8d6fb8
Merge pull request #4387 from antonlacon/le10-show-config
show config cleanup
2020-06-14 20:53:55 +02:00
Ian Leonard
4c95a9f1b0 show_config: show global compiler / linker flags used in build
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
44cb449b38 show_config: add DISTRO/show_config as function source and use it
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
f7ed0e72f2 config/show_config: allow direct execution
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>
2020-06-03 18:10:45 +00:00
Ian Leonard
0ea91f8079 config/show_config: reorder output
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>
2020-06-03 18:10:45 +00:00
Ian Leonard
e9862ccd6c show_config: move more of show_config kodi specific to distro version
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>
2020-06-03 18:10:45 +00:00
Ian Leonard
9a426d5da9 config/show_config: migrate kodi config to distro specific config/functions file
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
40f5477524 show_config: use increment operator
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
CvH
cb97caf937
Merge pull request #4271 from catalinii/master
Support cross-compile on aarch64 platform
2020-05-31 11:09:54 +02:00
CvH
4018c2ec1c
Merge pull request #4344 from HiassofT/le10-remote-gdb
Support building of a remote/cross gdb
2020-05-31 11:02:37 +02:00
MilhouseVH
4d15490c67 config/functions: add go_configure() helpers 2020-05-05 17:54:02 +02:00
Catalin Toda
7ec5ec3f93 Add linaro gcc for compiling on host on aarch64 2020-05-02 10:18:54 -07:00
Matthias Reichl
3524d12878 allow building with separate debug info
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>
2020-04-22 20:28:23 +02:00
MilhouseVH
7485d3362e buildsystem: ignore custom host Python installations
Fixes issue mentioned in #4326
2020-04-17 04:22:38 +01:00
MilhouseVH
71f58159f1 config/options: allow ADDON_PATH and ADDON_URL override; optional ADDON_PROJECT 2020-03-12 13:45:20 +00:00
CvH
3962fd8d05 distro: move addon path to config/options 2020-03-10 21:07:52 +01:00
CvH
066a1b42fb
Merge pull request #4203 from MilhouseVH/le10_kodi19-next04
kodi: next update (end of February 2020?)
2020-03-06 18:58:57 +01:00