Commit Graph

13 Commits

Author SHA1 Message Date
Clayton Craft 76bd694b6c
Adjust the librem5's uuu script to use paths in current dir
Everything will be at the repo root
2021-02-04 03:06:35 +01:00
Clayton Craft 2c018c5c0b
librem5: use the 'birch' dtb
This is 'safer', since my understanding is that it'll work on all
librem5 variants, whereas the 'r4' dtb only works on Evergreen
2021-02-04 03:06:10 +01:00
Clayton Craft 5dd07f70d1
makefile: rename librem5 main target to 'purism-librem5'
This is consistent with the naming for other devices (<oem>-<model>)
2021-02-04 03:05:45 +01:00
Sebastian Krzyszkowiak 8f03ee2270
Add support for Purism Librem 5 2021-02-04 03:01:10 +01:00
Martijn Braam 262b726087
Use wgetted external resources 2020-11-08 00:47:57 +01:00
Dalton e476191fdd Don't use grouped targets for the sunxi dtbs
Grouped explicit targets (the &: syntax) indicate to Make that a single
recipe, built once, produces all the indicated targets. In this case,
the feature was being used to indicate that the kernel build also
creates the needed dtbs for the sunxi devices.

Unfortunately, this feature was only introduced in GNU make 4.3 on
January 27 2020. Most current or LTS (or current LTS) releases of
distributions don't have this version of Make yet. For example, Ubuntu
20.04, Fedora 32, and Debian 10 (Buster) are still on GNU make 4.2 or
older. When grouped targets are used on older versions of GNU make,
it tries to run the same recipe once for each target. In this case, a
'make all' at the top level would run 'make -C src/linux ...' three
times. This caused file locking problems when anything but 'make -j1'
was used and made build times pretty long in any other case.

Fix this by changing the dtbs to dependency-only targets. Now GNU make
<4.3 correctly intuits "I only need to build kernel-sunxi.gz once and
will provide the dtbs, too" instead of "I need to build this
kernel-sunxi.gz recipe three times: once for kernel-sunxi.gz, once for
the two dtbs"
2020-10-22 12:36:00 -05:00
Martijn Braam e311695853
Disabled rk3399 build in 'all' target 2020-05-02 17:24:18 +02:00
Martijn Braam 724093d783
Merge pull request #18 from dreemurrs-embedded/rk3399
Makefile updates
2020-05-02 17:06:37 +02:00
Martijn Braam 6afc3325cc
U-boot sunxi speed up 2020-05-02 17:04:53 +02:00
Dalton Durst 1b5c8b12b4 Clean the initramfs directories too 2020-04-21 13:04:01 -05:00
Martijn Braam 5389546c49
rk3399 support 2020-04-09 17:35:43 +02:00
Martijn Braam 0257d43859
Build multiple images and nice errors 2020-03-17 19:20:51 +01:00
Martijn Braam 2b74ba81c2
New buildsystem and splash 2020-03-16 15:49:12 +01:00