221 Commits

Author SHA1 Message Date
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
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
Jernej Skrabec
771d19715b config: switch aarch64 toolchain 2022-04-14 19:52:37 +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
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
Ian Leonard
c450cea34d config/path: fix indent
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-18 01:14:21 +00:00
Michael Klein
9862b955e2 Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1
This closes #4737
2020-12-11 23:59:08 +01:00
Catalin Toda
7ec5ec3f93 Add linaro gcc for compiling on host on aarch64 2020-05-02 10:18:54 -07:00
MilhouseVH
7485d3362e buildsystem: ignore custom host Python installations
Fixes issue mentioned in #4326
2020-04-17 04:22:38 +01:00
Jonas Karlman
d350bbdf85 gcc-arm-aarch64-linux-gnu: update to 9.2-2019.12 and rename 2020-01-12 21:23:36 +00:00
MilhouseVH
06e0928840
Merge pull request #3140 from InuSasha/features/build-root
buildsystem: add possibility to move the build paths outside the git …
2020-01-08 15:21:22 +00:00
Andre Heider
4cca6adcb8 build: remove dead variabe STAMPS_NOARCH 2019-12-31 11:26:49 +01:00
Andre Heider
b40cfcaa41 build: remove dead variable INSTALL_INIT 2019-12-31 11:26:49 +01:00
MilhouseVH
8df34cfa11 buildsystem: remove obsolete variable 2019-11-04 16:34:55 +00:00
Sascha Kuehndel (InuSasha)
4bd4f58dbe
buildsystem: allow to set BUILD_ROOT via BUILD_DIR 2019-06-26 19:54:28 +02:00
kszaq
847fc62e04 config/path: rename gcc-linaro to gcc-arm 2019-04-03 22:08:35 +02:00
kszaq
a16579b131 Rename KERNEL_LINARO_TOOLCHAIN to KERNEL_TOOLCHAIN
in case there is a need to use non-Linaro toolchain.
2019-04-03 22:00:47 +02:00
MilhouseVH
fb7bfa02f9 config/path: get rid of MAKEINSTALL 2019-02-08 17:17:43 +00:00
MilhouseVH
d46b8f14aa config/path: VERBOSE_OUT/SILENT_OUT - drop export, need to exec for every parallel process 2019-02-08 17:17:43 +00:00
MilhouseVH
6fc4c091f7 config/path: stop logging patch progress to stderr when stdout is fine 2019-02-08 17:17:43 +00:00
MilhouseVH
aa4d81d233 config/path: add THREAD_CONTROL directory 2019-02-08 17:17:43 +00:00
MilhouseVH
12db14fcb7 config/path: add copyright 2018-12-22 20:47:03 +00:00
MilhouseVH
3a6295abdb config/path: remove package processing 2018-12-18 03:43:28 +00:00
MilhouseVH
c419751278 config/path: redirect output less often 2018-12-18 03:43:28 +00:00
MilhouseVH
8b9fd53759 config/path use pkg_call 2018-11-29 01:09:20 +00:00
MilhouseVH
d97b2b3793 config/functions: fix colors - escape sequences are not supported 2018-11-21 18:58:29 +00:00
Ian Leonard
15282eb38b treewide: retire $SED
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 01:12:58 +00:00
Sascha Kuehndel (InuSasha)
a5fd4a44aa
create_addon: do not include addons, embedded in image 2018-07-28 10:50:52 +02:00
Matthias Reichl
25f254890f Revert "dash: add package, configure as CONFIG_SHELL"
This reverts commit 3b5986704e002602cf72c9e34206d2938dcc0a0b.

The config shell is set as an interpreter in libtool scripts
and as Linux has a hard limit of 127 bytes on the first line
in scripts (including the hashbang) this causes the build to
fail with a "bad interpreter" error if the path to the config
shell exceeds this limit.

These errors were first noticed on jenkins builds but can be
easily reproduced by building LibreELEC in a longer build dir.

eg RPi2 clean build failing on libtool invocation in kmod build:

./doltlibtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/kmod-24/.x86_64-linux-gnu/libtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/d: bad interpreter: No such file or directory

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-30 12:31:22 +02:00
Matthias Reichl
f1977c91aa
Merge pull request #2785 from MilhouseVH/le90_dash_config_shell
dash: add package, configure as default CONFIG_SHELL [RFC]
2018-06-27 07:38:50 +02:00
MilhouseVH
3b5986704e dash: add package, configure as CONFIG_SHELL 2018-06-17 18:17:42 +01:00
Jonas Karlman
f28faae236 linux: use linaro toolchain when KERNEL_LINARO_TOOLCHAIN is set 2018-06-14 07:42:40 +02:00
Sascha Kuehndel (InuSasha)
ca54a7f1a9
WC/WP: use older linaro compiler for WeTek_Core/Play
- linux-3.10 are not able to build with gcc-8.1
2018-06-04 20:17:29 +02:00
Matthias Reichl
745c15f209 config/path: don't copy .git and .svn dirs when using file:///SOMEDIR
packages can override that by setting PKG_TAR_COPY_OPTS. If this
is set to an empty value everything will be copied.
2018-04-02 06:43:04 +01:00
Tomas Kelemen (vudiq)
5d27b9f36e scripts/get_git: add handler for git 2018-04-02 06:43:04 +01:00
MilhouseVH
d246e986d2 scripts/get_file: add file:// support - exists only for logging 2018-04-02 06:43:04 +01:00
MilhouseVH
3d1713527c scripts/get: support get handlers, starting with get_archive 2018-04-02 06:43:04 +01:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)

All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk

Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
Radostan Riedel
d450819323
Merge pull request #2506 from HiassofT/le9-kernel-toolchain
Compile kernel on 64/32 split archs without redefining TARGET_PREFIX
2018-02-23 20:12:59 +01:00
MilhouseVH
68450cd45f config/function & config/path: Don't source entire package just to determine PKG_DIR 2018-02-19 07:08:48 +00:00
MilhouseVH
f398be85a2 config/path: set BUILD_WITH_DEBUG variable 2018-02-19 07:08:48 +00:00
Matthias Reichl
ebaff257b9 config/path: define TARGET_KERNEL_PREFIX
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-02-17 17:54:26 +01:00
Lukas Rusak
7df2673df4
Merge pull request #2323 from MilhouseVH/le90_source_functions_options
buildsystem: source functions earlier, validate project/arch earlier, refactor show_config
2017-12-31 09:53:13 -08:00
James Millar
c3edfc6ee7 Cleanup path for SOURCES and allow SOURCES and TARGET to be defined by user 2017-12-21 15:16:24 -05:00
MilhouseVH
64156ea8c8 package cache: initialise with a function 2017-12-21 18:20:02 +00:00
MilhouseVH
bf71ef864b buildsystem: add configure_package function to finalise package initialisation 2017-12-20 06:25:03 +00:00
MilhouseVH
4e77097d23 buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package 2017-12-20 06:24:59 +00:00
MilhouseVH
7dce074e20 config/options: call check_path/check_config earlier 2017-12-17 19:12:59 +00:00
MilhouseVH
b0aa03ef65 config/functions: include in config/options not config/path 2017-12-17 19:12:59 +00:00
cvh
d9ae7fa438 buildsystem: add DRIVER_ADDONS_SUPPORT 2017-12-14 11:21:58 +01:00