mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
sgx: rename and clean up kernel and user space components
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -11,8 +11,8 @@ BBFILE_PRIORITY_meta-ti = "6"
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
omapdrm-pvr \
|
||||
omap5-sgx-ddk-um-linux \
|
||||
ti-sgx-ddk-km \
|
||||
ti-sgx-ddk-um \
|
||||
ti-ipc \
|
||||
ti-ipc-rtos \
|
||||
cmem-mod \
|
||||
|
||||
@@ -12,6 +12,14 @@ PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "virtual/kernel"
|
||||
|
||||
PROVIDES = "omapdrm-pvr"
|
||||
|
||||
RPROVIDES_${PN} = "omapdrm-pvr"
|
||||
RREPLACES_${PN} = "omapdrm-pvr"
|
||||
RCONFLICTS_${PN} = "omapdrm-pvr"
|
||||
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.1"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
|
||||
@@ -10,6 +10,18 @@ BRANCH = "ti-img-sgx/${PV}"
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "626c4f773b7c704f1d9a55ca80f60a79f809186d"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
tunes = bb.data.getVar("TUNE_FEATURES", d, 1)
|
||||
if not tunes:
|
||||
return
|
||||
pkgn = bb.data.getVar("PN", d, 1)
|
||||
pkgv = bb.data.getVar("PV", d, 1)
|
||||
if "callconvention-hard" not in tunes:
|
||||
bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
|
||||
raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
|
||||
}
|
||||
|
||||
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
|
||||
TARGET_PRODUCT_ti33x = "ti335x"
|
||||
TARGET_PRODUCT_ti43x = "ti437x"
|
||||
@@ -20,13 +32,21 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r8"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
|
||||
|
||||
RREPLACES_${PN} = "libegl libgles1 libgles2"
|
||||
RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
|
||||
RREPLACES_${PN}-dbg = "libegl-dbg"
|
||||
RPROVIDES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
|
||||
RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
|
||||
RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
|
||||
|
||||
RREPLACES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
|
||||
RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
|
||||
RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
|
||||
|
||||
RCONFLICTS_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
|
||||
RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
|
||||
RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -48,6 +68,7 @@ RDEPENDS_${PN} += "${PN}-plugins"
|
||||
ALLOW_EMPTY_${PN}-plugins = "1"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
|
||||
INSANE_SKIP_${PN}-plugins = "dev-so"
|
||||
Reference in New Issue
Block a user