diff options
Diffstat (limited to 'recipes-kernel/ipc')
-rw-r--r-- | recipes-kernel/ipc/ipc-modules-multi_git.bb | 11 | ||||
-rw-r--r-- | recipes-kernel/ipc/ipc-modules-single_git.bb | 11 | ||||
-rw-r--r-- | recipes-kernel/ipc/ipc-modules.inc | 26 |
3 files changed, 48 insertions, 0 deletions
diff --git a/recipes-kernel/ipc/ipc-modules-multi_git.bb b/recipes-kernel/ipc/ipc-modules-multi_git.bb new file mode 100644 index 00000000..e5dc1151 --- /dev/null +++ b/recipes-kernel/ipc/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/ipc-modules-single_git.bb b/recipes-kernel/ipc/ipc-modules-single_git.bb new file mode 100644 index 00000000..03817e0e --- /dev/null +++ b/recipes-kernel/ipc/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/ipc-modules.inc b/recipes-kernel/ipc/ipc-modules.inc new file mode 100644 index 00000000..79ba7ef1 --- /dev/null +++ b/recipes-kernel/ipc/ipc-modules.inc | |||
@@ -0,0 +1,26 @@ | |||
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-bsp/ipc/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" | ||
26 | |||