1051 Commits

Author SHA1 Message Date
MilhouseVH
3406ce9b7a buildsystem: support 6 digit process ids 2019-07-09 00:05:25 +01:00
MilhouseVH
300fe1852e buildsystem: bootstrapping parallel must not use locks 2019-07-09 00:05:25 +01:00
MilhouseVH
26c5f767e6
Merge pull request #3597 from HiassofT/le10-rpi4
add support for Raspberry Pi 4
2019-07-03 19:17:43 +01:00
Christian Hewitt
3a770314c4
Merge pull request #3516 from kszaq/topic/drop_mcpu
config: don't use mcpu switch for arm and aarch64
2019-07-03 19:10:39 +01:00
Matthias Reichl
08f7a574d6 config/noobs/os.json: move legacy hex revisions before models
This makes it easier to drop the property if it's not set.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
c2283e8390 config/graphic: also enable v3d and kmsro when building vc4
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Lukas Rusak
ae5c25909d
config/graphic: build etnaviv and kmsro for imx devices 2019-07-01 10:20:40 -07:00
Sascha Kuehndel (InuSasha)
4bd4f58dbe
buildsystem: allow to set BUILD_ROOT via BUILD_DIR 2019-06-26 19:54:28 +02:00
MilhouseVH
9f7fb5f7e7 buildsystem: die if a kernel config is not available 2019-06-15 06:15:17 +01:00
Christian Hewitt
4ff3ef1dcf
Merge pull request #3534 from MilhouseVH/le10_drop_amremote_atvclient
amremote/atvclient: cleanup
2019-06-13 16:45:50 +04:00
MilhouseVH
7ee271342a
Merge pull request #3524 from antonlacon/speed-flag
buildsystem: add "speed" flag for package building
2019-06-12 14:56:59 +01:00
MilhouseVH
fec79b5c13 config/functions: ln -sf is not always thread safe 2019-06-09 21:23:19 +01:00
MilhouseVH
17cda55c9f
Merge pull request #3523 from HiassofT/le10-initramfs-cleanup
cleanup initramfs build, drop support for kernel modules in initramfs
2019-06-05 15:46:53 +01:00
MilhouseVH
aa7d22f05b 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-05-29 02:12:42 +01:00
MilhouseVH
cd0e70eb65 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-05-29 01:04:45 +01:00
MilhouseVH
24dbf72842 atvclient: used by macmini hw, should be other support in kernel now 2019-05-25 12:32:23 +01:00
MilhouseVH
7bb5fefb42 buildsystem: addons install minor cleanup 2019-05-25 00:30:19 +01:00
Matthias Reichl
9e9657981a drop UVESAFB_SUPPORT option
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-24 16:22:48 +02:00
Matthias Reichl
317667558c drop INITRAMFS_MODULES option
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-24 16:22:48 +02:00
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
kszaq
07e83b2bca config: don't use mcpu switch for arm and aarch64
When compiling glibc for cortex-a9, the following errors appears:
cc1: error: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch [-Werror]

Using mcpu with march and mtune is not recommended and compiler emits
warnings/errors when mismatched.
2019-05-16 01:19:34 +02:00
Jernej Skrabec
e2e3c37896 Drop UBOOT_CONFIGFILE, it's never used 2019-05-15 19:02:56 +02:00
Jernej Skrabec
dd41eed8b9 Drop UBOOT_CONFIG, it's never used 2019-05-15 18:59:53 +02:00
MilhouseVH
d25890b0c2 config/functions: endianness in meson cross is always little 2019-05-09 12:31:50 +01:00
MilhouseVH
1a604c64a3
Merge pull request #3468 from HiassofT/le10-meson-cpp
config/functions: add C++ compiler and linker flags to meson.conf
2019-05-04 07:07:51 +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
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
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