MilhouseVH
2c2a752bb4
config/functions: fix formatting with THREADCOUNT=0
2019-08-17 12:48:13 +01:00
MilhouseVH
066d1f4915
config/functions: invert concurrency logic, more logical
2019-08-17 12:47:38 +01:00
Tomas Kelemen (vudiq)
9fca79227d
safe_remove: remove also broken symbolic links
...
if the target ($1) is a symbolic link to a removed file/folder, the
check will fail and the (broken) symbolic link will be not removed.
2019-07-23 17:07:16 +02:00
MilhouseVH
8fc217337c
buildsystem: include BUILD_SUFFIX in dashboard
2019-07-11 00:37:12 +01:00
MilhouseVH
82f70d28c9
buildsystem: no need to source package for PKG_NAME
2019-07-11 00:37:12 +01:00
MilhouseVH
eaf81e7277
buildsystem: fix and relocate comment
2019-07-11 00:37:12 +01:00
MilhouseVH
8380877cf5
buildsystem: support 6 digit process ids
2019-07-11 00:36:22 +01:00
MilhouseVH
8a7f1edad0
buildsystem: die if a kernel config is not available
2019-06-22 21:09:13 +01:00
MilhouseVH
0e5401939e
config/functions: ln -sf is not always thread safe
2019-06-13 22:12:21 +01:00
MilhouseVH
0bd4793492
buildsystem: avoid process forks to init dashboard status file
...
A typical image build will update the dashboard 3500-4500 times. This change
avoids two process forks (cat, wc) per update, and the remaining $(< file) is
faster than $(cat file).
2019-06-13 22:12:21 +01:00
MilhouseVH
04b8036e32
buildsystem: replace $(cat file) with faster alternative
...
See: https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
"
...
Bash performs the expansion by executing command in a subshell environment and replacing
the command substitution with the standard output of the command, with any trailing newlines
deleted. Embedded newlines are not deleted, but they may be removed during word splitting. The
command substitution $(cat file) can be replaced by the equivalent but faster $(< file).
"
Testing indicates var=$(< file) is twice as fast as var=$(cat file).
2019-06-13 22:12:21 +01:00
MilhouseVH
7aabe781cb
buildsystem: addons install minor cleanup
2019-06-13 22:12:21 +01:00
MilhouseVH
18d9847829
config/functions: endianness in meson cross is always little
2019-06-13 22:12:20 +01:00
Matthias Reichl
ca952e8937
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-06-13 22:12:20 +01: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