Enable RGA and GO2 on all Rockchip devices.
This commit is contained in:
parent
227b969eb8
commit
d3c575a32b
4 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
RG351P
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue