diff options
Diffstat (limited to 'recipes-kernel/ipc-modules')
| -rw-r--r-- | recipes-kernel/ipc-modules/ipc-modules-multi_git.bb | 11 | ||||
| -rw-r--r-- | recipes-kernel/ipc-modules/ipc-modules-single_git.bb | 11 | ||||
| -rw-r--r-- | recipes-kernel/ipc-modules/ipc-modules.inc | 25 |
3 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/ipc-modules/ipc-modules-multi_git.bb b/recipes-kernel/ipc-modules/ipc-modules-multi_git.bb new file mode 100644 index 000000000..e5dc11519 --- /dev/null +++ b/recipes-kernel/ipc-modules/ipc-modules-multi_git.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | require ipc-modules.inc | ||
| 2 | |||
| 3 | EXTRA_OEMAKE ="KERNEL_DIR=${STAGING_KERNEL_DIR} ${SOC}=1 CONFIG_MULTI_RAT=1" | ||
| 4 | |||
| 5 | do_install(){ | ||
| 6 | install -d ${D}/usr/driver/IPC/multi_rat | ||
| 7 | install -m 755 ${S}/kernel/*.ko ${D}/usr/driver/IPC/multi_rat | ||
| 8 | } | ||
| 9 | |||
| 10 | FILES_${PN} += "/usr/driver/IPC/multi_rat/*.ko" | ||
| 11 | FILES_${PN}-dbg += "/usr/driver/IPC/multi_rat/.debug" | ||
diff --git a/recipes-kernel/ipc-modules/ipc-modules-single_git.bb b/recipes-kernel/ipc-modules/ipc-modules-single_git.bb new file mode 100644 index 000000000..03817e0ec --- /dev/null +++ b/recipes-kernel/ipc-modules/ipc-modules-single_git.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | require ipc-modules.inc | ||
| 2 | |||
| 3 | EXTRA_OEMAKE ="KERNEL_DIR=${STAGING_KERNEL_DIR} ${SOC}=1" | ||
| 4 | |||
| 5 | do_install(){ | ||
| 6 | install -d ${D}/usr/driver/IPC/single_rat | ||
| 7 | install -m 755 ${S}/kernel/*.ko ${D}/usr/driver/IPC/single_rat | ||
| 8 | } | ||
| 9 | |||
| 10 | FILES_${PN} += "/usr/driver/IPC/single_rat/*.ko" | ||
| 11 | FILES_${PN}-dbg += "/usr/driver/IPC/single_rat/.debug" | ||
diff --git a/recipes-kernel/ipc-modules/ipc-modules.inc b/recipes-kernel/ipc-modules/ipc-modules.inc new file mode 100644 index 000000000..a496ab6df --- /dev/null +++ b/recipes-kernel/ipc-modules/ipc-modules.inc | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "Linux IPC KERNEL MODULE " | ||
| 2 | DESCRIPTION = "DSP boot application and ipc test application" | ||
| 3 | LICENSE = "BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10" | ||
| 5 | |||
| 6 | require recipes-extended/ipc-ust/ipc.inc | ||
| 7 | |||
| 8 | inherit module qoriq_build_64bit_kernel | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 13 | do_configure_prepend() { | ||
| 14 | sed -i 's,$(KERNEL_DIR)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/kernel/Makefile | ||
| 15 | } | ||
| 16 | |||
| 17 | do_compile_prepend () { | ||
| 18 | cd ${S}/kernel | ||
| 19 | case ${MACHINE} in | ||
| 20 | bsc9132qds|bsc9131rdb) SOC=B913x;; | ||
| 21 | b4860qds|b4420qds) SOC=B4860;; | ||
| 22 | esac | ||
| 23 | } | ||
| 24 | |||
| 25 | INHIBIT_PACKAGE_STRIP = "1" | ||
