836 Commits

Author SHA1 Message Date
Matthias Reichl
439d3ff31e config/graphic: also enable v3d and kmsro when building vc4
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-06-23 02:09:02 +02:00
MilhouseVH
8a7f1edad0 buildsystem: die if a kernel config is not available 2019-06-22 21:09:13 +01:00
Jernej Skrabec
997b403b4c Drop UBOOT_CONFIGFILE, it's never used 2019-06-15 06:26:29 +01:00
Jernej Skrabec
b66f07ff23 Drop UBOOT_CONFIG, it's never used 2019-06-15 06:26:29 +01:00
MilhouseVH
2ab4c72852 atvclient: used by macmini hw, should be other support in kernel now 2019-06-13 22:12:21 +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
Jernej Škrabec
08d2d12903
Merge pull request #3452 from MilhouseVH/le10_graphics_dedupe
config/graphic+mesa: simplify dedupe by using space-delimited lists
2019-05-01 21:52:17 +02:00
MilhouseVH
54b97863ca config/graphic: concat strings with += 2019-04-30 22:10:14 +01:00
Jernej Škrabec
45899b43fa
Merge pull request #3447 from MilhouseVH/le10_mt_update2
config/functions: eliminate unecessary dashboard flock()
2019-04-25 18:54:51 +02:00
MilhouseVH
eb3752ae91 config/functions: remove owner when unlocking 2019-04-24 20:28:28 +01:00
MilhouseVH
82e4ab5913 config/graphic+mesa: simplify dedupe by using space-delimited lists 2019-04-24 08:05:20 +01:00
MilhouseVH
319be3bb49
Merge pull request #3415 from chewitt/config-graphic
config/graphic: add lima/panfrost options and sort
2019-04-24 06:07:32 +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
Christian Hewitt
2b179f5f4d config/graphic: alphabetical ocd 2019-04-11 13:07:56 +04:00
chewitt
3a8a16f1e6 config/graphic: add lima/panfrost options 2019-04-11 13:04:11 +04:00
Jernej Škrabec
13bd9b8829
Merge pull request #3375 from MilhouseVH/linux5.0.2+
linux (RPi/Generic): update to linux-5.0.7
2019-04-10 22:30:36 +02:00
kszaq
847fc62e04 config/path: rename gcc-linaro to gcc-arm 2019-04-03 22:08:35 +02:00
kszaq
a16579b131 Rename KERNEL_LINARO_TOOLCHAIN to KERNEL_TOOLCHAIN
in case there is a need to use non-Linaro toolchain.
2019-04-03 22:00:47 +02: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
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
CvH
fa3c85519f
Merge pull request #3351 from MilhouseVH/le10_ban_spaces
config/options: ban spaces in paths
2019-03-07 00:11:50 +01: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
35fc18cc9e config/options: ban spaces in paths 2019-03-02 21:44:05 +00:00
MilhouseVH
34670aaae7 config/functions: slightly more efficient package cache processing 2019-03-02 09:22:56 +00:00
MilhouseVH
7b64c946cd config/multithread: don't filter by PKG_ARCH 2019-03-01 12:25:50 +00:00
MilhouseVH
ad938672b2 buildsystem: parallel pid cleanup 2019-02-28 06:19:13 +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
MilhouseVH
3f3395fdf4 buildsystem: switch rm -fr to rm -rf for consistency/OCD 2019-02-22 20:11:50 +00: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
85da96229f config/multithreaded: install embedded addons too during addon build 2019-02-13 15:10:54 +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
750772193d squash: multithreaded progress lock 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 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
fb7bfa02f9 config/path: get rid of MAKEINSTALL 2019-02-08 17:17:43 +00:00