diff options
Diffstat (limited to 'meta-fsl-ppc/recipes-kernel/ceetm/ceetm_git.bb')
| -rw-r--r-- | meta-fsl-ppc/recipes-kernel/ceetm/ceetm_git.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/ceetm/ceetm_git.bb b/meta-fsl-ppc/recipes-kernel/ceetm/ceetm_git.bb new file mode 100644 index 000000000..beaed31ed --- /dev/null +++ b/meta-fsl-ppc/recipes-kernel/ceetm/ceetm_git.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | DESCRIPTION = "CEETM TC QDISC" | ||
| 2 | LICENSE = "GPLv2 & BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | ||
| 4 | |||
| 5 | DEPENDS="virtual/kernel" | ||
| 6 | |||
| 7 | inherit module qoriq_build_64bit_kernel | ||
| 8 | |||
| 9 | SRC_URI = "git://git.freescale.com/ppc/sdk/ceetm.git;nobranch=1" | ||
| 10 | SRCREV = "ecf55c9ca0cd42a212653e1f99c19cd611e3a008" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | ||
| 15 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | ||
| 16 | |||
| 17 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 18 | do_configure_prepend () { | ||
| 19 | sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/ceetm_module/Makefile | ||
| 20 | } | ||
| 21 | |||
| 22 | do_install(){ | ||
| 23 | mkdir -p ${D}/usr/driver/ceetm | ||
| 24 | mkdir -p ${D}/${libdir}/tc | ||
| 25 | cp ${S}/bin/ceetm.ko ${D}/usr/driver/ceetm | ||
| 26 | cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/. | ||
| 27 | } | ||
| 28 | |||
| 29 | FILES_${PN} += "/usr/driver/ceetm ${libdir}/tc" | ||
| 30 | INHIBIT_PACKAGE_STRIP = "1" | ||
