1051 Commits

Author SHA1 Message Date
heitbaum
4bc87e50ab mesa GRAPHIC_DRIVERS: delete classic drivers (DRI)
i915, i965, nouveau, r100, r200
2021-11-22 15:16:43 +11:00
Tomáš Kelemen (vudiq)
4e6f8705e6
crocus: add Mesa gallium driver for older Intel GPUs 2021-10-27 15:45:50 +02:00
CvH
36dcdfdc8b
Merge pull request #5779 from antonlacon/assorted-minors
Assorted minors
2021-10-26 11:43:35 +02:00
mglae
a0ec688ed9
Merge pull request #4738 from mklein-de/pythondontwritebytecode
Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1
2021-10-24 16:01:44 +02:00
rschupp
8781ccb0d5 build: fix detection of multiarch lib and include directories 2021-10-18 09:29:43 +02:00
Ian Leonard
7e67a70da0 show_config: remove a subshell
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 21:59:35 +00:00
CvH
507492c930
Merge pull request #5435 from antonlacon/le11-arch-options
buildsystem: change when config/arch.$ARCH is sourced
2021-10-03 08:02:45 +02:00
CvH
8d6e4ac9a7
Merge pull request #5453 from antonlacon/le11-passwd
buildsystem: cleanup password hashing; drop busybox:host
2021-10-03 08:00:41 +02:00
CvH
7812192049
Merge pull request #5436 from antonlacon/functions-cleanup
Reduce subprocesses in buildsystem
2021-10-03 08:00:07 +02:00
CvH
f4096df37c
Merge pull request #5539 from mglae/le10_buildsystem_cmake_optimization
buildsystem: cmake: allow specifying our optimization level
2021-10-02 13:45:36 +02:00
Ian Leonard
279d726b9f config/functions: reduce use of basename and dirname
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:49 +00:00
Ian Leonard
2e21000d38 config/functions: cleanup buildsystem check_ functions
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:49 +00:00
Matthias Reichl
de465c0664 config/options: default to Generic device when building Generic project
This fixes building and calling into build scripts without PROJECT,
DEVICE and ARCH set

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-20 10:38:17 +02:00
heitbaum
beb663428d config/functions: fix spelling mistake 2021-09-19 21:29:07 +10:00
mglae
131654d937 buildsystem: use -DNDEBUG not only for cmake release builds 2021-09-17 18:20:08 +02:00
mglae
5789d3dff9 buildsystem: allow specifying our optimizing level for packages build with cmake
Using -DCMAKE_BUILD_TYPE=MinSizeRel result in finally building with -Os. Our default
optimization or '+speed' are ignored, behavior is like always using '+size'.

Changing to default -DCMAKE_BUILD_TYPE="" is not allowed by to many packages including
Kodi, they are forcing a default option (in worst case "Debug", e.g. llvm)

Redefine the cmake parameters to not include any options and do the same for host choosing
"Release" as build type.
2021-09-17 18:20:08 +02:00
heitbaum
ad84c1e24b toolchain: always use cross compile and exe_wrapper with meson
This needs to be done even on target=host due to libraries of the host
being newer than the target. This fixes tests where target glibc is
different from host glibc and meson tries to check existance of 2
functions which are in GLIBC_2.34 in this example. It is also correct
functionality, as we will never be building for the host the compile is
on.

`Program stderr:

/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/glib-37e5dfd3a2ced10c395b38702ae15e0e128e457b/.x86_64-libreelec-linux-gnu/meson-private/tmpg908xy4s/output.exe:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/glib-37e5dfd3a2ced10c395b38702ae15e0e128e457b/.x86_64-libreelec-linux-gnu/meson-private/tmpg908xy4s/output.exe)`
2021-09-11 23:21:26 +10:00
heitbaum
a5988425a1 toolchain: autoconf: add workaround for >autoconf-2.69
Since >autoconf-2.69, autoreconf will check for GTK_DOC_CHECK macro and
will call gtkdocize automatically [Link 1] when invoked with "--install"
parameter.

Because we do not care about docs in libreelec packages, we can stick to our poor
man's implementation of autoreconf and replace calls to gtkdocize with true.

Link 1: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768

source of patch:
https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=235fcd4e9c1f57af368ca9bbe9dd25effc0dc900
2021-09-11 23:21:26 +10:00
Ian Leonard
2cb6f17526 config/buildsystem: generate password hash in add_user using python
Python3's crypt module is capable of generating password hashes. Use that
instead of busybox:host's cryptpw function.

Move password hashing into config/function's add_user(), so one need not
remember to generate the hash and then pass it into add_user().

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-12 00:15:01 +00:00
Ian Leonard
a055e09c3b buildsystem: add .tar.zst handling for package tarballs
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-11 17:56:42 +00:00
CvH
d9785e5a8c
Merge pull request #5272 from heitbaum/tc
toolchain: enable correct handling of cmake-make in check_toolchain_config
2021-08-11 13:24:54 +02:00
CvH
4f8d8eabd3
Merge pull request #5276 from arthur-liberman/fix-glib
Update build system for new meson and fix up glib package
2021-08-11 13:19:20 +02:00
CvH
44d1b8dfb5
Merge pull request #5406 from antonlacon/le10-minors
Buildsystem minor cleanups
2021-08-11 13:08:00 +02:00
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:
85e3d8d4e052a37391c2f2d9748be4b4140e2c42
780c7a3db02599afe1f8eda138be17623e9b5a38
d6d915d0cc58e82f85c1c66354962dd648e3b6a8
2021-06-05 19:09:06 +00: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
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