Enable RGA and GO2 on all Rockchip devices.

This commit is contained in:
fewtarius 2022-08-08 17:02:05 -04:00
parent 227b969eb8
commit d3c575a32b
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
4 changed files with 7 additions and 8 deletions

View file

@ -31,11 +31,11 @@ pre_configure_target() {
case ${ARCH} in
arm)
PKG_DEPENDS_TARGET+=" librga ${OPENGLES}"
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-neon --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms --disable-mali_fbdev"
;;
aarch64)
PKG_DEPENDS_TARGET+=" librga ${OPENGLES}"
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --disable-neon --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms --disable-mali_fbdev"
;;
*)
@ -43,9 +43,9 @@ pre_configure_target() {
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengl --enable-vulkan --enable-vulkan_display"
esac
case ${DEVICE} in
RG351P|RG552)
PKG_DEPENDS_TARGET+=" libgo2"
case ${PROJECT} in
Rockchip)
PKG_DEPENDS_TARGET+=" librga libgo2"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-odroidgo2"
;;
esac

View file

@ -1 +0,0 @@
RG351P

View file

@ -32,8 +32,8 @@ then
fi
case ${DEVICE} in
RG351P|RG552)
case ${PROJECT} in
Rockchip)
PKG_DEPENDS_TARGET+=" librga"
pre_make_host() {
sed -i "s| -lrga||g" ${PKG_BUILD}/CMakeLists.txt