Skip to content

Commit

Permalink
[WIP] package/rpi-userland: add support for aarch64 build
Browse files Browse the repository at this point in the history
Tested on Pi4 Model B (aarch64).

Note: this needs adjustment as per comments from upstream:

 - GLX is marked as provided when it's not on arm64

Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed Aug 28, 2020
1 parent dc5f8dd commit 227670e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/rpi-userland/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config BR2_PACKAGE_RPI_USERLAND
bool "rpi-userland"
depends on BR2_arm
depends on BR2_arm || BR2_aarch64
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
Expand Down Expand Up @@ -40,6 +40,6 @@ config BR2_PACKAGE_RPI_USERLAND_HELLO
endif

comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
depends on BR2_arm
depends on BR2_arm || BR2_aarch64
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
4 changes: 4 additions & 0 deletions package/rpi-userland/rpi-userland.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr

RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg

ifeq ($(BR2_aarch64),y)
RPI_USERLAND_CONF_OPTS += -DARM64=ON
endif

ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)

RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
Expand Down

0 comments on commit 227670e

Please sign in to comment.