Commit Graph

1083 Commits

Author SHA1 Message Date
Jonas Karlman
f0fe82bd06 config/arch: add support for cortex-a55 target 2025-09-12 09:30:58 +00:00
Christian Hewitt
3e6ec448df config: delete duplicate 'Image Filesystem' section 2025-09-12 08:39:32 +00:00
Christian Hewitt
509d0c6f33 tm16xx-display: move/rename package, enable via options, only pick utils
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-09-12 08:39:32 +00:00
Ian Leonard
5ac55f9623 config/path: minors
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2025-08-23 21:41:29 -04:00
Ian Leonard
9d4c4cf6fe show_config: add information on storage fs and squashfs compression
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2025-08-23 21:20:36 -04:00
Ian Leonard
e97e8d5915 show_config: use DISTRO_DIR
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2025-08-23 21:20:36 -04:00
Christian Hewitt
0cf465a345 treewide: unbrand LIBREELEC_VERSION to DISTRO_VERSION
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Rudi Heitbaum
5ca746bb4a Merge pull request #8481 from dhewg/mold
meson: use chosen linker
2025-03-07 18:58:35 +11:00
Tomáš Kelemen (vudiq)
665dacbb19 create_meson_conf_target: add rust definition 2025-02-21 23:37:24 +01:00
luzpaz
91a4766cef treewide: fix typos
Found via `codespell -q 3 -S "*.patch,*.po" -L acount,afile,distroname,parm,serie,synopsys`
2025-02-03 07:04:59 -05:00
Rudi Heitbaum
7dedee0f7c ati: drop X11 support and the xf86-video-ati package 2024-11-30 10:49:33 +00:00
Rudi Heitbaum
33d0af6434 nvidia-legacy: drop support and xf86-video-nvidia-legacy package 2024-11-30 10:48:14 +00:00
Matthias Reichl
3a7045dcbc config/graphic: drop support for libmali
Signed-off-by: Matthias Reichl <hias@horus.com>
2024-11-15 14:35:52 +01:00
Ian Leonard
bd2c679977 build: update LTO related CFLAGS
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2024-10-05 20:28:48 -04:00
Jernej Skrabec
244c19cf3e buildsystem: Add function for executing python scripts with target environment 2024-08-21 19:34:04 +02:00
Rudi Heitbaum
7f1b2e1dd0 mesa: drop unnecessary kmsro option
ref:
- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30463
2024-08-16 10:31:00 +00:00
Rudi Heitbaum
ed8681ff03 Merge pull request #9057 from CvH/13.0/shfmt
cleanup script formatting
2024-07-27 18:24:18 +10:00
Matthias Reichl
8d65b09ee3 config: use /bin/dash as CONFIG_SHELL if it's installed on the build host
This speeds up autotools configure and libtool quite a lot.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-07-11 11:30:12 +02:00
CvH
5275163ab0 cleanup scripts: config/ 2024-07-06 11:08:34 +02:00
Stan Rudenko
c2fb571aeb config: add custom cpu features support for arch.x86_64 2024-01-30 21:34:17 -08:00
Andre Heider
52858e734f meson: use chosen linker
meson requires setting the linker via c_ld/cpp_ld.
This now links meson based package builds with the chosen
DEFAULT_LINKER.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2024-01-05 10:15:15 +01:00
Rudi Heitbaum
7d3a3c055b meson: use pkg-config not pkgconfig
reference:
- https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig
2023-11-22 10:06:51 +00:00
Matthias Reichl
2be502b327 config/arch.aarch64: add support for cortex-a76
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 11:00:16 +02:00
Matthias Reichl
63c68f7670 scripts/image: support EXTRA_CMDLINE in noobs image creation
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-08-20 17:02:18 +02:00
CvH
3f49a597e6 Merge pull request #7036 from antonlacon/le11-scripts
buildsystem: additions to show_config, related
2023-04-16 10:34:43 +02:00
Ian Leonard
73c2d5d023 diskdev_cmds: drop package
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-19 18:58:39 +00:00
Rudi Heitbaum
69d686bbe6 config/functions: in meson cross-file set ipc_rmid_deferred_release = true
meson: allow skipping of run check for IPC_RMID_DEFERRED_RELEASE
- https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/134
2023-03-18 08:06:26 +00:00
CvH
9148a6729a Merge pull request #7143 from SupervisedThinking/up_get_pkg_sha256
config/functions: add get_pkg_sha256
2023-03-05 21:38:51 +01:00
Rudi Heitbaum
3597832ab1 config/arch.aarch64: drop TARGET_ABI=eabi
Issue discovered as $TARGET expanding to aarch64-libreelec-linux-gnueabi

Should build aarch64 for gnu, not gnueabi
- which doesn't make sense on aarch64 as eabi implies soft float

Reported-by: MrDuck2742
Suggested-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Tested-by: Matthias Reichl <hias@horus.com>
Tested-by: MrDuck2742
2023-03-04 00:29:23 +00:00
Matthias Reichl
4436ef2626 config/optimize: add -gdwarf-4 for split debug info builds
Since gcc 11 -gsplit-dwarf no longer implicitly enables -g and needs
a separate -g option. For some yet unknown reasons the default DWARF 5
format doesn't work, gdb doesn't show debug info, but DWARF 4 works fine
so use that.

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-23 21:13:03 +01:00
mglae
9474167897 functions: fix build_with_debug() to include dependency base packages like "kodi+" 2022-12-31 15:29:31 +01:00
SupervisedThinking
2df69c0d23 config/show_config: minor clean up
- get rid of leading whitespace
- according to https://ccache.dev/ it's "Ccache"
2022-12-08 12:13:07 +01:00
CvH
cfd7db5ff0 Merge pull request #7173 from HiassofT/le11-revert-y2038
Revert 32-bit Y2038 changes
2022-12-07 21:00:21 +01:00
CvH
927f7246dc Merge pull request #7204 from HiassofT/le11-local-cc2
options: automatically use ccache on build host if it's available
2022-12-05 09:34:28 +01:00
Matthias Reichl
7c258fe258 Revert "config/arch.arm: build with -D_TIME_BITS=64 to support 64-bit time on legacy ABIs"
This reverts commit 894a4a66da.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 23:44:26 +01:00
Matthias Reichl
6956b5f605 config/show_config: add local ccache info
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 16:01:56 +01:00
Rudi Heitbaum
399df18197 config/options: add compression level for ccache (CCACHE_COMPRESSLEVEL) 2022-12-04 14:21:40 +01:00
Matthias Reichl
b9d7841a47 options: automatically use ccache on build host if it's available
Use of ccache on build host is now controlled by the
LOCAL_CCACHE_SUPPORT option. Setting it to "no" will disable use
of local ccache.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 13:39:47 +01:00
Matthias Reichl
627b7c9829 config/functions: support using local ccache for early builds
If LOCAL_CCACHE is set to the full path of ccache on the build host
it will be used for early stage host package builds, eg make and ccache
at the moment.

By default it uses a separate cache dir (.ccache-local) so that it
doesn't interfere with our ccache (which is typically a different
version). The location can be changed by setting LOCAL_CCACHE_DIR

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-02 01:11:39 +01:00
Matthias Reichl
99d87d4142 config/path: add support for build-host local ccache directory settings
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-02 01:11:39 +01:00
Matthias Reichl
d022bc8c3a config/functions: add local-cc flag for building with local build-host cc
This is needed for host packages built in very early stages,
before host-cc (which typically uses ccache) is available.

Set CC/CXX to LOCAL_CC/CXX in this case.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-02 01:11:39 +01:00
Ian Leonard
79a4a5dd8c functions: add_user: replace python with openssl
python's crypt module is deprecated in 3.11 and to be removed in 3.13.
Replace its usage with openssl's passwd.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-11-21 22:21:13 +00:00
SupervisedThinking
8e84db508b config/functions: add get_pkg_sha256
- returns the PKG_SHA256 of a given package file
2022-11-18 18:19:47 +01:00
Ian Leonard
1a128b5b6d options: relocate ARM_MEM_SUPPORT to distribution options
Display in show_config too.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-24 01:37:24 +00:00
Ian Leonard
0a0f34a9c6 show_config: add information on storage fs and squashfs compression
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-24 01:37:24 +00:00
SupervisedThinking
e485a16a8d build system: add support for mold & linker PKG_BUILD_FLAGS 2022-10-06 19:39:45 +02:00
Frank Hartung
f15e1de7ee Merge pull request #6928 from HiassofT/le11-default-linker
buildsystem: support choosing default linker
2022-10-05 23:59:20 +02:00
Matthias Reichl
4bcc171bd2 buildsystem: support choosing default linker
Default linker can be set with DEFAULT_LINKER in options.

Packages can influence linker selection both by positive and/or
negative PKG_BUILD_FLAGS, eg +bfd or -gold.

Positive build flags take priority over the default linker so eg
DEFAULT_LINKER="gold" and PKG_BUILD_FLAGS="+bfd" will select bfd.

Negative flags mean a specific linker should not be used, eg -gold
prevents using gold.

If the default linker is disabled via a build flag then any other
available linker will be used.

Optional linkers like gold have to be enabled with eg GOLD_SUPPORT="yes"
in options. If an optional linker is not enabled it won't be a candidate
for linker selection. So eg "+mold" will have no effect if MOLD_SUPPORT
isn't set to "yes".

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-27 19:00:27 +02:00
Matthias Reichl
546e7c653f buildsystem: add support for reporting build timing details
Timing detail reporting can be enabled by setting
TRACE_BUILD_TIMING=1

This enables timestamping collecting at various build stages so we
can easily analyze how long eg configure, make/build, install etc
steps take.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-22 19:33:30 +02:00
Ian Leonard
e6cade60d9 buildsystem: remove march and mcpu from LDFLAGS
march and mcpu were added in ~2011. I don't know why. I have seen CFLAGS added
en masse to LDFLAGS when using LTO, but that does not explain these inclusions.

Remove to cleanup LDFLAGS.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-09-14 22:36:16 +00:00