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
MilhouseVH
9928350609
buildsystem: eliminate other unecessary sub process usage
2017-10-10 01:34:46 +01:00
MilhouseVH
cf71811eec
buildsystem: eliminate unecessary sed usage
2017-10-09 13:11:43 +01:00
MilhouseVH
98baf44167
buildsystem: unset all PKG_* variables before sourcing a new package
2017-10-07 22:04:17 +01:00
MilhouseVH
976e9de27d
buildsystem: enable custom colours (or none at all)
2017-08-11 06:42:42 +01:00
Jonas Karlman
388b357e04
config/path: reduce $DEVICE complexity
2017-07-11 21:19:07 +02:00
Christian Hewitt
099fdf2cbf
Merge pull request #1597 from MilhouseVH/package_verify
...
build system: verify package downloads using sha256 checksum
2017-05-16 19:32:03 +04:00
MilhouseVH
44ba3aed75
config/path: unset LD_LIBRARY_PATH unconditionally
2017-05-10 22:29:02 +01:00
MilhouseVH
77a9346d4c
config/path: avoid LD_LIBRARY_PATH trailing colon which breaks glibc build
2017-05-10 22:29:02 +01:00
MilhouseVH
32cb753e93
build system: verify package downloads using sha256 checksum
2017-05-05 18:34:35 +01:00
MilhouseVH
d78ee5f22c
config/path: addons need kodi
2017-03-23 18:02:53 +00:00
Lukas Rusak
d2b7dd2152
config/path: use $DEVICE.$TARGET_ARCH
2017-02-28 09:35:46 -08:00
MilhouseVH
9d149e88e8
fakeroot: move to build directory
2017-02-17 18:22:41 +00:00
MilhouseVH
03366a102c
TOOLCHAIN: drop $ROOT, convert to absolute path
2017-02-17 18:17:13 +00:00
MilhouseVH
db963c64ee
BUILD: add $ROOT, convert to absolute path
2017-02-17 18:17:13 +00:00
MilhouseVH
165a6fff38
build: switch to build-specific ccache by default
2016-12-26 16:42:36 +00:00
MilhouseVH
4b599ac7b9
build: implement PKG_PATCH_DIRS
2016-12-06 18:25:25 +00:00
kszaq
2de641bb52
Add a possibility to create the projects that could have several different devices
...
Such projects should be compiled differently for each device.
A device for multi-device projects must be specified in the
command line.
Originally created by Codesnake, adapted for LE.
767125372c
2016-10-28 20:08:08 +02:00
chewitt
f84628692b
config/path: remove PKG_PRIORITY
2016-10-27 08:45:17 +01:00
MilhouseVH
22ef3eea06
path: remove regex dependency when processing packages
2016-10-06 21:54:59 +01:00
Lukas Rusak
14c62f8f3d
Merge pull request #781 from MilhouseVH/path_optimise
...
path: optimize package processing
2016-09-30 10:43:17 -07:00
MilhouseVH
af5010824e
toolchain: only setup_toolchain when building
2016-09-30 06:19:25 +01:00
MilhouseVH
01eff6af7c
path: optimize package processing
2016-09-30 03:23:01 +01:00
Stephan Raue
322f4339a9
config/path: move some variables to config/functions and cleanup
...
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-09-26 23:20:33 -07:00
Stephan Raue
433ab98027
config/path: remove $TOOLCHAIN_LANGUAGES and $TOOLCHAIN_CXX
...
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-09-26 23:20:33 -07:00
Stephan Raue
ccb0683056
config/functions: rework setup_toolchain, add cmake configuration
...
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-09-26 23:20:28 -07:00
Lukas Rusak
6cd2350411
cleanup: clean build scripts to make more reproducible builds
2016-08-29 14:55:00 -07:00
zalaare
dfa9d4a4cb
libreelec: use separate ccache location [project+arch+major_version]
2016-06-08 21:52:51 +00:00