diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-23 16:02:25 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:59 -0300 |
| commit | 6a868a671472d454b407a165fc31c5f7dfe783c6 (patch) | |
| tree | 7bd2ab13a04d14215264cc992501970cacfb20ef /recipes-kernel/asf | |
| parent | 62e212fe4812a6c726df4ac8e77d4a77e0e54247 (diff) | |
| download | meta-freescale-6a868a671472d454b407a165fc31c5f7dfe783c6.tar.gz | |
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/asf')
| -rw-r--r-- | recipes-kernel/asf/asf_git.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb new file mode 100644 index 000000000..6e25ecf5f --- /dev/null +++ b/recipes-kernel/asf/asf_git.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "Non-DPAA software Application Specific Fast-path" | ||
| 2 | SECTION = "asf" | ||
| 3 | LICENSE = "GPLv2 & GPLv2+ & BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | ||
| 5 | |||
| 6 | SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=master" | ||
| 7 | SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b" | ||
| 8 | |||
| 9 | inherit module qoriq_build_64bit_kernel | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git/asfmodule" | ||
| 12 | |||
| 13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
| 14 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | ||
| 15 | |||
| 16 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 17 | |||
| 18 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 19 | do_configure_prepend () { | ||
| 20 | find ${S} -name Makefile -exec \ | ||
| 21 | sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \; | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install(){ | ||
| 25 | install -d ${D}/${libexecdir} | ||
| 26 | install -d ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 27 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 28 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 29 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" | ||
| 33 | RDEPENDS_${PN} += "ipsec-tools" | ||
