Patchwork [meta-fsl-ppc,v2,30/38] auto-resp: add recipe for sdk v1.6 release

login
register
mail settings
Submitter Ting Liu
Date July 3, 2014, 9:42 a.m.
Message ID <1404380572-14814-31-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74955/
State Rejected
Headers show

Comments

Ting Liu - July 3, 2014, 9:42 a.m.
From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-kernel/auto-resp/ar_git.bb |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 recipes-kernel/auto-resp/ar_git.bb
Bob Cochran - July 7, 2014, 1:08 a.m.
On 07/03/2014 05:42 AM, ting.liu@freescale.com wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
>   recipes-kernel/auto-resp/ar_git.bb |   23 +++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>   create mode 100644 recipes-kernel/auto-resp/ar_git.bb


Just wanted to point out that this is one of the few recipes without any 
sort of README in the FSL git tree (ppc/sdk/auto-resp.git), which the 
recipe fetches from.

Also, it's the only one I have come across that isn't documented in the 
FSL SDK documentation (I'm using the monolithic 
"QorIQ-SDK-1.6-IC-RevA.pdf" as my source).   Documentation might be 
there, but it isn't easy to find.




>
> diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb
> new file mode 100644
> index 0000000..522c29c
> --- /dev/null
> +++ b/recipes-kernel/auto-resp/ar_git.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "Auto Response Control Module"
> +LICENSE = "GPLv2 & BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
> +
> +DEPENDS="virtual/kernel"
> +
> +inherit module
> +
> +SRC_URI = "git://git.freescale.com/ppc/sdk/auto-resp.git;nobranch=1"
> +SRCREV =  "7e755eb855fcbc3930cd6e46bb492a599e0ff812"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}"
> +export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
> +
> +do_install(){
> +	mkdir -p ${D}/usr/driver/auto-resp
> +	cp -rf ${S}/bin ${D}/usr/driver/auto-resp
> +}
> +
> +FILES_${PN} += "/usr/driver/auto-resp"
> +INHIBIT_PACKAGE_STRIP = "1"
>

Patch

diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb
new file mode 100644
index 0000000..522c29c
--- /dev/null
+++ b/recipes-kernel/auto-resp/ar_git.bb
@@ -0,0 +1,23 @@ 
+DESCRIPTION = "Auto Response Control Module"
+LICENSE = "GPLv2 & BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
+
+DEPENDS="virtual/kernel"
+
+inherit module
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/auto-resp.git;nobranch=1"
+SRCREV =  "7e755eb855fcbc3930cd6e46bb492a599e0ff812"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}"
+export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
+
+do_install(){
+	mkdir -p ${D}/usr/driver/auto-resp
+	cp -rf ${S}/bin ${D}/usr/driver/auto-resp
+}
+
+FILES_${PN} += "/usr/driver/auto-resp"
+INHIBIT_PACKAGE_STRIP = "1"