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/auto-resp | |
| 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/auto-resp')
| -rw-r--r-- | recipes-kernel/auto-resp/ar_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb new file mode 100644 index 000000000..52d9f57d4 --- /dev/null +++ b/recipes-kernel/auto-resp/ar_git.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "Auto Response Control Module" | ||
| 2 | LICENSE = "GPLv2 & BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | ||
| 4 | |||
| 5 | inherit module | ||
| 6 | |||
| 7 | SRC_URI = "git://git.freescale.com/ppc/sdk/auto-resp.git;branch=sdk-v1.7.x" | ||
| 8 | SRCREV = "dbede76fb4020a370baa393f7c53af4c0db8f175" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | ||
| 13 | export KERNEL_PATH | ||
| 14 | |||
| 15 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 16 | |||
| 17 | do_compile_prepend() { | ||
| 18 | sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile | ||
| 19 | } | ||
| 20 | |||
| 21 | do_install(){ | ||
| 22 | install -d ${D}/lib/modules/${KERNEL_VERSION} | ||
| 23 | install -d ${D}${bindir} | ||
| 24 | install -m 644 ${B}/bin/ar.ko ${D}/lib/modules/${KERNEL_VERSION}/ | ||
| 25 | cp -f ${S}/bin/ar_* ${D}${bindir}/ | ||
| 26 | } | ||
| 27 | |||
| 28 | FILES_${PN} += "${bindir}/" | ||
| 29 | |||
