Commit Graph

1063 Commits

Author SHA1 Message Date
Stan Rudenko
c2fb571aeb config: add custom cpu features support for arch.x86_64 2024-01-30 21:34:17 -08: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