Skip to contentSkip to conversation

external-linaro-toolchain, linux-libc-headers: update to pull backport of uvc

PATCH New Denys Dmytriyenko 1 participant 2 messages Nov 6, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 external-linaro-toolchain, linux-libc-headers: update to pull backport of uvc

g_uvc.h UAPI has been backported from 4.19. Need to use it for uvc-gadget app.

---
 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(-)
meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend +1 -1
index 8addc91..02760d8 100644
@@ -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"
meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb +1 -1
index c313ca2..5c54e56 100644
@@ -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"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 uvc-gadget: update to the latest for many fixes and new g_uvc API

---
 .../recipes-devtools/uvc-gadget/uvc-gadget_git.bb             | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
meta-arago-extras/recipes-devtools/uvc-gadget/uvc-gadget_git.bb +5 -6
index 1f75f15..39f8cb3 100644
@@ -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 () {
Signature · 1 line
2.7.4