recipes-graphics: switch to common tegra pkgarch

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2020-07-24 14:17:09 -07:00
committed by Matt Madison
parent b41ff87a0c
commit b0683d7968
9 changed files with 11 additions and 10 deletions

View File

@@ -1,3 +1,3 @@
PACKAGECONFIG_append_tegra = " egl glesv2"
PACKAGECONFIG_remove_tegra = "opengl"
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"

View File

@@ -1 +1,2 @@
EDEPENDS_X11 += "libxdamage"
EDEPENDS_X11_append_tegra = " libxdamage"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"

View File

@@ -6,4 +6,4 @@ LDFLAGS_append_tegra = " -Wl,-Bsymbolic-functions"
pkg_postinst_${PN}_tegra() {
ln -sf libdrm_nvdc.so $D${libdir}/libdrm.so.2
}
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"

View File

@@ -21,7 +21,7 @@ inherit autotools pkgconfig features_check python3native
S = "${WORKDIR}/git"
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \

View File

@@ -1,2 +1,2 @@
PACKAGECONFIG_tegra = "egl gles2 x11 glx"
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"

View File

@@ -3,4 +3,4 @@ ANY_OF_DISTRO_FEATURES_tegra = ""
REQUIRED_DISTRO_FEATURES_append_tegra = " x11"
PACKAGECONFIG_tegra = "xcb"
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"

View File

@@ -1,5 +1,5 @@
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"
PACKAGECONFIG_remove_tegra = "wayland"
RRECOMMENDS_${PN}_remove_tegra = "mesa-vulkan-drivers"
RDEPENDS_${PN}_tegra = "tegra-libraries libxcb libxcb-glx0"
INSANE_SKIP_${PN} += "build-deps"
INSANE_SKIP_${PN}_append_tegra = " build-deps"

View File

@@ -1,2 +1,2 @@
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"
PACKAGECONFIG_remove_tegra = "wayland"

View File

@@ -2,4 +2,4 @@ OPENGL_PKGCONFIGS_remove_tegra = "glamor"
PACKAGECONFIG_remove_tegra = "dri2"
PACKAGECONFIG_append_tegra = " xinerama"
PACKAGE_ARCH_tegra = "${SOC_FAMILY_PKGARCH}"
PACKAGE_ARCH_tegra = "${TEGRA_PKGARCH}"