Discussion:
[meta-arago] [rocko/master][PATCH 1/2] external-linaro-toolchain, linux-libc-headers: update to pull backport of uvc
Denys Dmytriyenko
2018-11-06 21:23:07 UTC
Permalink
g_uvc.h UAPI has been backported from 4.19. Need to use it for uvc-gadget app.

Signed-off-by: Denys Dmytriyenko <***@ti.com>
---
meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend | 2 +-
.../recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend b/meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend
index 8addc91..02760d8 100644
--- a/meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend
+++ b/meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend
@@ -4,7 +4,7 @@
# duplication of code from corresponding recipe.

BRANCH = "ti-lsk-linux-4.14.y"
-SRCREV = "3bacc614e300e497679bdd7d2759f486e713f373"
+SRCREV = "3e50654361c34b75784ab7c8c9aa8e96b3a37fc1"

KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
diff --git a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
index c313ca2..5c54e56 100644
--- a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
+++ b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb
@@ -3,7 +3,7 @@ require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
PR_append = ".arago0"

BRANCH = "ti-lsk-linux-4.14.y"
-SRCREV = "3bacc614e300e497679bdd7d2759f486e713f373"
+SRCREV = "3e50654361c34b75784ab7c8c9aa8e96b3a37fc1"

KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
--
2.7.4
Denys Dmytriyenko
2018-11-06 21:23:08 UTC
Permalink
Signed-off-by: Denys Dmytriyenko <***@ti.com>
---
.../recipes-devtools/uvc-gadget/uvc-gadget_git.bb | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/meta-arago-extras/recipes-devtools/uvc-gadget/uvc-gadget_git.bb b/meta-arago-extras/recipes-devtools/uvc-gadget/uvc-gadget_git.bb
index 1f75f15..39f8cb3 100644
--- a/meta-arago-extras/recipes-devtools/uvc-gadget/uvc-gadget_git.bb
+++ b/meta-arago-extras/recipes-devtools/uvc-gadget/uvc-gadget_git.bb
@@ -2,18 +2,17 @@ SUMMARY = "UVC gadget userspace sample application"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://uvc-gadget.c;beginline=1;endline=18;md5=414860c3c534dc95d81da9564cfb8d2a"

-DEPENDS = "virtual/kernel"
-
SRC_URI = "git://git.ideasonboard.org/uvc-gadget.git"
-SRC_URI += "file://0001-uvc-gadget-don-t-hardcode-uvc.h-path.patch"

-PV = "1.0+git${SRCPV}"
-SRCREV = "3c5a666f9d2eea0e0f7e9a8a0eb8bbfd7687ca13"
+PV = "1.1+git${SRCPV}"
+SRCREV = "aa82df887ab995473cd83c89777cdf4bc4685dd0"

S = "${WORKDIR}/git"

+EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" KERNEL_INCLUDE=""'
+
do_compile () {
- ${CC} ${CFLAGS} -I${STAGING_KERNEL_DIR}/drivers/usb/gadget/function ${LDFLAGS} -o uvc-gadget uvc-gadget.c
+ oe_runmake
}

do_install () {
--
2.7.4
Loading...