Matthias Reichl
3bb574cbcc
config/functions: build kernel with host pkg-config settings
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-09 12:03:59 +02:00
Matthias Reichl
628d20b940
config/functions: factor out pkg-config setup into functions
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-09 12:03:59 +02:00
MilhouseVH
cce413d1d2
packages: align source code licence usage with project licence
2019-03-27 10:42:53 +00:00
MilhouseVH
e2072d8b56
config/options: ban spaces in paths
2019-03-03 08:22:50 +00:00
CvH
4fb58fc234
Merge pull request #3285 from MilhouseVH/le90_meson_props_backport
...
config/functions: add cross-compile property support [backport]
2019-02-17 22:00:38 +01:00
MilhouseVH
9dcc683a95
buildsystem: fix debug broken by #3171 [backport]
2019-02-14 19:50:24 +00:00
MilhouseVH
15c11d0f7d
config/functions: add cross-compile property support
2019-02-01 20:41:04 +00:00
MilhouseVH
0661263dd8
buildsystem: restore set -e fail-on-error behaviour
2019-01-24 19:17:39 +00:00
MilhouseVH
76067bdf80
buildsystem: be more cautious when overwriting package cache files
2019-01-14 22:57:19 +00:00
MilhouseVH
09ff01745b
config/functions: fix addon changelog
2019-01-09 11:53:21 +01:00
KOPRajs
fb1a2033dd
Fix host platform for CMake
2019-01-03 12:00:04 +01:00
CvH
a98586ba33
Merge pull request #3171 from MilhouseVH/le90_buildsystem_source_packages-with-drop
...
buildsystem: centralise package sourcing
2018-12-29 18:18:15 +01:00
MilhouseVH
f9ed478992
setup_toolchain: add CMAKE_SYSTEM_PROCESSOR to host/bootstrap config
...
libjpeg-turbo:host fails without this.
2018-12-29 15:53:49 +00:00
MilhouseVH
d167df7064
Merge pull request #3184 from vpeter4/ninja_concurrent
...
config/functions: respect CONCURRENCY_MAKE_LEVEL for ninja
2018-12-24 05:37:51 +00:00
vpeter4
ce4ec88628
config/functions: respect CONCURRENCY_MAKE_LEVEL for ninja
2018-12-23 14:39:35 +01:00
MilhouseVH
12db14fcb7
config/path: add copyright
2018-12-22 20:47:03 +00:00
MilhouseVH
16bac66c15
config/functions: address quibble
2018-12-22 20:44:38 +00:00
vpeter4
86ec1eee8a
buildsystem: add flag to enable verbose build (if package supports it)
2018-12-22 15:22:04 +01:00
MilhouseVH
c66cd0aeca
config/options: source packages instead of config/path
2018-12-18 03:43:28 +00:00
MilhouseVH
3a6295abdb
config/path: remove package processing
2018-12-18 03:43:28 +00:00
MilhouseVH
8996ca654f
config/functions: add helpers for sourcing packages
2018-12-18 03:43:28 +00:00
MilhouseVH
442b489c99
config/functions: relocate pkg_call functions
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
5c9966c31d
Merge pull request #3132 from mglae/le9_custom_color
...
buildsystem: fix custom colors
2018-11-29 17:40:58 +00:00
MilhouseVH
3b756a1f3c
config/functions: fix comment
2018-11-29 01:09:20 +00:00
MilhouseVH
8b9fd53759
config/path use pkg_call
2018-11-29 01:09:20 +00:00
MilhouseVH
710c607016
config/functions: add pkg_call/pkg_call_optional helpers
2018-11-29 01:09:17 +00:00
mglae
f085f0494b
config/functions: fix custom colors
2018-11-28 01:25:23 +01:00
MilhouseVH
87c0981b28
config/functions: build_msg avoid outputting single space for 0 indent
2018-11-21 18:58:29 +00:00
MilhouseVH
d97b2b3793
config/functions: fix colors - escape sequences are not supported
2018-11-21 18:58:29 +00:00
Ian Leonard
5c8bbb6fe1
config/functions: allow null invocatin of print_color
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
b8e57d9dfe
config/functions: add build message printf helpers
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
MilhouseVH
e019ab9464
Merge pull request #3079 from antonlacon/retire-sed-var
...
treewide: retire $SED
2018-11-04 19:48:31 +00:00
MilhouseVH
1226636b2a
Merge pull request #3078 from antonlacon/buildsystem-to-merge2
...
buildsystem: unpacking / extracting cleanup
2018-11-04 19:48:18 +00:00
MilhouseVH
dc17f6488a
Merge pull request #3053 from antonlacon/buildsystem-to-merge
...
config: Buildsystem cleanup
2018-11-04 19:48:03 +00:00
Ian Leonard
59b2228fcd
buildsystem: replace printf with echo where able
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
Ian Leonard
15282eb38b
treewide: retire $SED
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 01:12:58 +00:00
Ian Leonard
ae689aa0a5
config/optimize: add march=native to host cflags
...
Relies on the assumption that the machine that will build the toolchain will
also be the machine to use said toolchain.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-27 21:39:58 +00:00
Ian Leonard
2f7d146390
projects/generic: move cflags to arch.x86_64
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +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
74668b7cf7
config/source: use https for SOURCEFORGE_SRC
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:15:24 +00:00
Ian Leonard
2162e3efe6
config/show_config: only show kodi info when MEDIACENTER=kodi
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:15:24 +00:00
Ian Leonard
2a12f77b6e
functions: break check_config into its constituent parts; add check_distro
...
Take the opportunity to cleanup the check_foobar() too.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:44:27 +00:00
Ian Leonard
0727f4c685
config/functions: eliminate use of which; convert to using die
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:40:04 +00:00
Ian Leonard
bb8b8322c3
config/functions: add copyright statement
...
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:27:49 +00:00
Ian Leonard
aa00529d3a
config/functions: add die() function
...
die is meant to be a more flexible exit, printing a message to go with
the exit call. It works like:
die -- same as "exit 1"
die "It just broke." -- echo statement, exit value 1
die "Tried to do the thing." "2" -- echo statement, exit value 2
Exit codes other than 1 require a message to go with it.
it would replace existing code that looks like:
echo "ERROR: Everything went wrong. Sorry!"
exit 1
or be more helpful in picking up the pieces when something unexpected
happens then:
do_something || exit 1
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:25:18 +00:00