Commit Graph

964 Commits

Author SHA1 Message Date
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
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
MilhouseVH
061140b226 xbmc.python: bump minimum Python ABI support 2020-03-03 18:18:31 +00:00
mglae
99cf8bb62c linux: initramfs: use initramfs config file(s) and directory structure
Cpio file is generated as part of the kernel build process. No need
to force fakeroot cpio build any more.
2020-02-26 06:42:44 +01:00
MilhouseVH
653298b18a buildsystem: allow onexit trap to be selectively ignored 2020-02-19 10:24:15 +00:00
MilhouseVH
a1e700fd87 buildsystem: log pkg_call that failed 2020-02-19 07:49:35 +00:00
dhewg
c6e17d2b06
Merge pull request #4177 from MilhouseVH/le10-pkgbuilder-setsid
scripts/pkgbuilder.py: assign each subprocess a process group
2020-02-19 08:47:22 +01:00
MilhouseVH
a6f81e49d5 scripts/pkgbuilder.py: enable percent/load/mem info with --progress 2020-02-19 07:33:42 +00:00
dhewg
8a2115303b
Merge pull request #4112 from Kwiboo/gcc-arm-update
gcc-arm: update to 9.2-2019.12 and remove gcc-linaro
2020-02-18 18:57:47 +01:00
MilhouseVH
70b69ebffa
Merge pull request #4191 from HiassofT/le10-fix-obj-remove
allow packages to install *.o files into the image
2020-02-13 17:26:09 +00:00
MilhouseVH
a11e063083 build: auto remove build dirs 2020-02-10 08:53:39 +01:00
Andre Heider
a6991f0aba pkg-config: add support for multiple sysroots 2020-02-10 08:53:39 +01:00
Andre Heider
a98010df72 build: automatically add dependencies for kernel packages
And add the missing "linux" to PKG_DEPENDS_UNPACK while at it, the tree
is required for building kernel modules.
2020-02-10 08:53:39 +01:00
Andre Heider
a02a10d263 linux: clean up firmware dependecies
The fw packages are accessed using get_build_dir(), so move then to
PKG_DEPENDS_UNPACK.
2020-02-10 08:53:39 +01:00
Matthias Reichl
e96a892a10 config/functions: fix safe_remove of multiple files
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>
2020-02-09 12:00:24 +01:00
Matthias Reichl
75e2e560c0
Merge pull request #4178 from MilhouseVH/le10_buildsys_drop_unecessary_subs
config/functions: drop unecessary / escaping
2020-02-07 23:48:26 +01:00
MilhouseVH
5e44eafa55 config/functions: drop unecessary / escaping 2020-02-02 21:11:54 +00:00
MilhouseVH
b1e43da1e4 config/otpions: export PROJECT and ARCH defaults 2020-01-31 16:47:30 +00:00
Christian Hewitt
74d2b27891
Merge pull request #4155 from MilhouseVH/le10_pkgbuilder_fail_slow
scripts/pkgbuilder.py: allow active jobs to finish once an error occurs
2020-01-31 10:48:35 +03:00
MilhouseVH
2500f20522
Merge pull request #4139 from chewitt/wireguard-matrix
wireguard: add initial support for WireGuard VPNs
2020-01-29 21:12:23 +00:00
MilhouseVH
b0e1c7de9c
Merge pull request #4143 from lrusak/intel-iris
config/graphic: allow using the new intel gallium iris driver
2020-01-29 20:56:34 +00:00
MilhouseVH
aaf5f0e466 scripts/pkgbuilder.py: allow active jobs to finish once an error occurs 2020-01-28 11:01:13 +00:00
Lukas Rusak
55aad87771
config/graphic: allow using the new intel gallium iris driver 2020-01-26 09:33:08 -08:00