| Message ID | 20260828145221.1301539-1-gehariprasath@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl | expand |
On 8/28/2026 8:22 PM, Hari Prasath Gujulan Elango wrote: > The TI vendor kernel's dma-heap.h carries DMA_HEAP_IOCTL_EXPORT in > downstream. The standard header provided by linux-libc-headers' wouldn't > have the custom changes.Copy it straight from the kernel's staged > source tree (STAGING_KERNEL_DIR) into a separate /usr/include/ti/linux > path instead, for userspace code that needs it. > oops missed the subject prefix guidelines,discard this. Sending v3. > Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com> > --- > v1->v2: Address minor review comments in commit message and > recipe description. > > .../ti-vendor-kernel-headers_1.0.bb | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb > > diff --git a/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb > new file mode 100644 > index 000000000..5d570689a > --- /dev/null > +++ b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb > @@ -0,0 +1,17 @@ > +SUMMARY = "TI vendor kernel uapi headers not present in mainline linux-libc-headers" > +DESCRIPTION = "Copies select UAPI headers straight from the TI vendor kernel source \ > +tree into a TI-specific include path (/usr/include/ti/linux), for userspace code \ > +that needs them but can't rely on linux-libc-headers carrying TI-only additions." > +LICENSE = "GPL-2.0-only" > +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" > + > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +do_configure[depends] += "virtual/kernel:do_shared_workdir" > +do_install[depends] += "virtual/kernel:do_shared_workdir" > + > +do_install() { > + install -d ${D}${includedir}/ti/linux > + install -m 0644 ${STAGING_KERNEL_DIR}/include/uapi/linux/dma-heap.h ${D}${includedir}/ti/linux/dma-heap.h > +} > +
meta-ti / na / 20260828145221.1301539-1-gehariprasath
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [PATCH v2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
patch:87
Subject: [PATCH v2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [PATCH v2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
- Submitter: From: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
- Date: Date: Fri, 28 Aug 2026 20:22:21 +0530
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 976446b70c12c223eb76a6ce2fa98b93d333785f
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: TEST: linux-ti-staging: Add testing dtbo and build command
- Commit SHA: 4359f764bdd9c496fd7b4f2c1319bdc646a87b35
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
diff --git a/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb new file mode 100644 index 000000000..5d570689a --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "TI vendor kernel uapi headers not present in mainline linux-libc-headers" +DESCRIPTION = "Copies select UAPI headers straight from the TI vendor kernel source \ +tree into a TI-specific include path (/usr/include/ti/linux), for userspace code \ +that needs them but can't rely on linux-libc-headers carrying TI-only additions." +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_install[depends] += "virtual/kernel:do_shared_workdir" + +do_install() { + install -d ${D}${includedir}/ti/linux + install -m 0644 ${STAGING_KERNEL_DIR}/include/uapi/linux/dma-heap.h ${D}${includedir}/ti/linux/dma-heap.h +} +
The TI vendor kernel's dma-heap.h carries DMA_HEAP_IOCTL_EXPORT in downstream. The standard header provided by linux-libc-headers' wouldn't have the custom changes.Copy it straight from the kernel's staged source tree (STAGING_KERNEL_DIR) into a separate /usr/include/ti/linux path instead, for userspace code that needs it. Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com> --- v1->v2: Address minor review comments in commit message and recipe description. .../ti-vendor-kernel-headers_1.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb