-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build qtbase without gbm (because the graphics stack in yocto for rpi is weird), qtwayland (add rpi support) and rpi-config (redistribute RAM/GPU memory). Also add a systemd service file for neptune that sets the proper wayland backend for the pi. Signed-off-by: Tobias Olausson <tobias.olausson@pelagicore.com>
- Loading branch information
Showing
5 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
# | ||
# Remove gbm support if we're building for rpi | ||
# | ||
PACKAGECONFIG_remove_rpi = "gbm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# | ||
# Make sure we build with support for the broadcom driver if building for rpi | ||
# | ||
PACKAGECONFIG_append_rpi = " wayland-brcm " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# | ||
# Reserve 512MB RAM for the GPU if this is the QtAS variant, otherwise 128MB | ||
# | ||
# This checks if the b2qt layer is included. | ||
# | ||
|
||
GPU_MEM="${@bb.utils.contains("BBFILE_COLLECTIONS", "b2qt", 512, 128, d)}" |