CvH
3f49a597e6
Merge pull request #7036 from antonlacon/le11-scripts
...
buildsystem: additions to show_config, related
2023-04-16 10:34:43 +02: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
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
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
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
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
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
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
kszaq
d6d915d0cc
Add TCMALLOC_SUPPORT parameter to add libtcmalloc_minimal to the image
2021-05-22 14:19:46 +02: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
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
MilhouseVH
71f58159f1
config/options: allow ADDON_PATH and ADDON_URL override; optional ADDON_PROJECT
2020-03-12 13:45:20 +00:00
CvH
3962fd8d05
distro: move addon path to config/options
2020-03-10 21:07:52 +01:00
Andre Heider
a02a10d263
linux: clean up firmware dependecies
...
The fw packages are accessed using get_build_dir(), so move then to
PKG_DEPENDS_UNPACK.
2020-02-10 08:53:39 +01:00
MilhouseVH
b1e43da1e4
config/otpions: export PROJECT and ARCH defaults
2020-01-31 16:47:30 +00:00
Andre Heider
2d12b7ebe8
build: add load average limit to reduce CPU overcommitment
...
For make and ninja based build systems, no new jobs are started if the load
average is greater than number_of_cores * 1.5.
2020-01-17 09:16:37 +01:00
MilhouseVH
b28a93e0a6
Merge pull request #3970 from chewitt/options
...
options: support per-buildsystem options
2019-12-15 02:00:16 +00:00
chewitt
cf58340a27
options: support per-buildsystem options
2019-12-01 07:59:44 +00:00
MilhouseVH
db6d111ecf
scripts/checkdeps: can't install gcc if gcc not installed. Duh.
2019-11-08 00:09:26 +00:00
MilhouseVH
4ce4965f5a
config: use Python3 package to set PKG_PYTHON_VERSION
2019-10-29 12:19:07 +00:00
MilhouseVH
baeacecab7
config/options: log PWD when the current directory includes a space
2019-09-16 02:51:03 +01:00
MilhouseVH
35fc18cc9e
config/options: ban spaces in paths
2019-03-02 21:44:05 +00:00
MilhouseVH
95158167e9
buildsystem: fix debug broken by #3171
2019-02-14 19:41:22 +00:00
MilhouseVH
c66cd0aeca
config/options: source packages instead of config/path
2018-12-18 03:43:28 +00:00
Ian Leonard
c6e6d0644b
config/version: move to distro
...
The information within config/version contains information that is about
LibreELEC the distribution, so place it there. Config/version should contain
version information about the LibreELEC the buildsystem.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +00:00
Ian Leonard
4fe54cff72
config/functions: roll check_path into check_config
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +00:00
Ian Leonard
8d8ca6cee7
config/options: general cleanup
...
brackets around variable names
shell builtin for inserting values into empty variables
line indent
variable quotes
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +00:00
Ian Leonard
ae29226181
config/options: convert to die
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:39 +00:00
Ian Leonard
df4858f5c2
config/options: set project independent variables early
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:15:24 +00:00
Ian Leonard
df1cffa51e
config/options: cleanup
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-04 20:35:43 +00:00
CvH
3bcd1b67d9
config/options: make VERBOSE usable from promt
2018-09-23 11:58:12 +02:00
MilhouseVH
19f463af05
config/options: include project and device package files in linux depends
2018-09-08 21:10:15 +01:00
MilhouseVH
d8d723d7c2
init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades
2018-05-15 22:14:42 +01:00
Matthias Reichl
fcf1ea5d78
config/options: remove unused variable DEVTOOLS
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-27 09:57:32 +02:00
MilhouseVH
1edbc1b10f
config/options: initialise the debug helper caches
2018-02-19 07:08:48 +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
Jonas Karlman
1168df439b
linux: rebuild when config or patches changes
2017-12-11 00:03:10 +01:00
Radostan Riedel
a5cd1eee59
Merge pull request #2248 from MilhouseVH/le90_check_root
...
config/options: check if the effective uid is root (and bail if so)
2017-11-25 09:00:24 +01:00
MilhouseVH
fffd7fb134
config/options: LINUX_DEPENDS not observing correct kernel config when TARGET_PATCH_ARCH in effect
2017-11-24 20:49:22 +00:00
MilhouseVH
e4c752d394
config/options: check if the effective uid is root (and bail if so)
2017-11-22 23:40:51 +00:00
MilhouseVH
9928350609
buildsystem: eliminate other unecessary sub process usage
2017-10-10 01:34:46 +01:00
MilhouseVH
cf6ed26936
buildsystem: eliminate unecessary grep usage
2017-10-09 13:11:43 +01:00
Jérôme Benoit
9f298e2892
cleanup: remove for real out of tree projects and options file, features removal leafovers, etc.
...
I think it's error prone and useless to the development of LE.
I've left the possibilty to have a options file in your home directory
but I do not think it's necessary.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
2016-11-18 22:09:36 +01: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
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
Lukas Rusak
c66176f1ed
linux: install external firmware for x86_64 only
2016-09-19 11:52:51 -07:00
MilhouseVH
44a4797740
build: evaluate DEVTOOLS after $HOME options
2016-06-27 10:58:13 +01:00
zalaare
cc8b88014d
libreelec: lower CCACHE_CACHE_SIZE limit to 10GB
2016-06-08 21:52:59 +00:00