Commit Graph

848 Commits

Author SHA1 Message Date
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
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