Can you send patches just to the list? Not critical, but this messes up my 
filters :) And I'm applying patches from Patchwork anyway...


On Wed, Sep 25, 2019 at 07:58:49PM +0530, Nikhil Devshatwar wrote:
> Signed-off-by: Nikhil Devshatwar <[email protected]>
> ---
>  .../conf/distro/include/arago-source-ipk.inc       |  4 ++++
>  .../recipes-kernel/uio/ivshmem-uio-driver_git.bb   | 27 
> ++++++++++++++++++++++
>  2 files changed, 31 insertions(+)
>  create mode 100644 
> meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb
> 
> diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc 
> b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
> index 9e105b8..970e3e2 100644
> --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
> @@ -374,6 +374,10 @@ SRCIPK_INSTALL_DIR_pn-hplib-mod = 
> "board-support/extra-drivers/${PN}-${PV}"
>  CREATE_SRCIPK_pn-uio-module-drv = "1"
>  SRCIPK_INSTALL_DIR_pn-uio-module-drv = 
> "board-support/extra-drivers/${PN}-${PV}"
>  
> +CREATE_SRCIPK_pn-ivshmem-uio-driver = "1"
> +SRCIPK_INSTALL_DIR_pn-ivshmem-uio-driver = 
> "board-support/extra-drivers/${PN}-${PV}"
> +SRCIPK_PRESERVE_GIT_pn-ivshmem-uio-driver = "true"
> +
>  CREATE_SRCIPK_pn-ipsecmgr-mod = "1"
>  SRCIPK_INSTALL_DIR_pn-ipsecmgr-mod = 
> "board-support/extra-drivers/${PN}-${PV}"

Can you split it up and send source-ipk part to meta-arago, while the recipe 
itself rather belongs to meta-ti.


> diff --git a/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb 
> b/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb
> new file mode 100644
> index 0000000..f41842b
> --- /dev/null
> +++ b/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb

meta-ti/recipes-bsp would probably be better place.


> @@ -0,0 +1,27 @@
> +DESCRIPTION =  "Kernel drivers IVSHMEM UIO driver"

SUMMARY?


> +HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code";
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
> +
> +inherit module
> +
> +RDEPENDS_${PN} = "jailhouse"
> +
> +PROTOCOL = "git"
> +BRANCH = "jailhouse"
> +SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
> +SRC_URI = 
> "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
> +
> +S = "${WORKDIR}/git"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"

module.bbclass already package to be machine-specific automatically.


> +EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"'
> +
> +do_compile_prepend() {
> +    cd ${S}/kernel_module/uio
> +}
> +
> +do_install() {
> +    install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
> +    install -m 644 ${S}/kernel_module/uio/uio_ivshmem.ko 
> ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
> +}
> -- 
> 1.9.1
> 
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to