Ian Leonard
c5e535505c
buildsystem: add package flags to set compiler optimization
...
speed: use O3
size: use Os
default: use O2
The priority order is to use speed if set, then size, and fallback
to default when neither are set.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-21 01:00:29 +00:00
MilhouseVH
d25890b0c2
config/functions: endianness in meson cross is always little
2019-05-09 12:31:50 +01:00
Matthias Reichl
24e31c0fad
config/functions: add C++ compiler and linker flags to meson.conf
...
Due to missing cpp_args and cpp_link_args in meson.conf ninja builds
of projects with C++ code were performed without CPU optimization
flags (-march, -mcpu, -mtune etc). Add these args so C++ code is
built with proper flags.
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-29 12:43:41 +02:00
MilhouseVH
eb3752ae91
config/functions: remove owner when unlocking
2019-04-24 20:28:28 +01:00
MilhouseVH
c3913ab9ae
config/functions: remove non-mt support in update_dashboard()
2019-04-24 04:56:39 +01:00
MilhouseVH
b272bcb999
config/functions: eliminate unecessary dashboard flock()
2019-04-23 03:56:22 +01:00
Christian Hewitt
20eaca6026
Merge pull request #2431 from Kwiboo/pkg-stamp
...
Add PKG_STAMP to trigger a package rebuild
2019-04-12 16:03:05 +04:00
Matthias Reichl
fdc31f7992
config/functions: build kernel with host pkg-config settings
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-03 14:09:02 +01:00
Matthias Reichl
142f59ab2c
config/functions: factor out pkg-config setup into functions
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-03 14:09:02 +01:00
Jonas Karlman
ddb55a932a
config/functions: rebuild package when PKG_STAMP has changed
2019-04-01 20:58:13 +00:00
CvH
f14df920b9
Merge pull request #3342 from MilhouseVH/le92_fixup_mysql
...
scripts/build: fix broken sym link after #3328
2019-03-07 00:04:26 +01:00
MilhouseVH
5f7fbed311
Merge pull request #3329 from lrusak/safe-remove
...
[RFC] add safe_remove to notify if a file doesn't exist
2019-03-06 23:02:02 +00:00
MilhouseVH
34670aaae7
config/functions: slightly more efficient package cache processing
2019-03-02 09:22:56 +00:00
MilhouseVH
6da44a3931
config/functions: maybe pedantic, but just in case append isn't thread-safe
2019-02-25 20:59:12 +00:00
Lukas Rusak
4811063c90
config/functions: add safe_remove to notify if a file doesn't exist
2019-02-25 09:37:54 -08:00
CvH
eef940cc5a
Merge pull request #3319 from MilhouseVH/le10_mt_fixup2
...
buildsystem: more fixes as required
2019-02-18 20:53:23 +01:00
MilhouseVH
35266cf938
config/functions: discriminate lock ownership by job/seq not just job
2019-02-18 19:40:53 +00:00
MilhouseVH
95158167e9
buildsystem: fix debug broken by #3171
2019-02-14 19:41:22 +00:00
MilhouseVH
23c6529978
scripts/create_addon_mt: support building/installing addons with a single plan
2019-02-08 17:17:43 +00:00
MilhouseVH
59cfb354d9
PKG_DEPENDS_UNPACK: add source package to PKG_NEED_UNPACK
...
If the source package changes then we need to rebuild too.
2019-02-08 17:17:43 +00:00
MilhouseVH
c5e17fe2c9
config/functions: add multi-threaded helpers
2019-02-08 17:17:43 +00:00
MilhouseVH
2e3ac4899f
config/functions: allow package to be sourced using path
2019-02-08 17:17:43 +00:00
MilhouseVH
9243cc8568
config/functions: add cross-compile property support
2019-02-01 20:39:35 +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
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
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
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
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
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
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
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