summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-ipc.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-ipc.inc b/recipes-kernel/kernel-modules/kernel-module-ipc.inc
index a496ab6d..89330d17 100644
--- a/recipes-kernel/kernel-modules/kernel-module-ipc.inc
+++ b/recipes-kernel/kernel-modules/kernel-module-ipc.inc
@@ -9,6 +9,11 @@ inherit module qoriq_build_64bit_kernel
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
12SOC ?= ""
13SOC_b4 = "B4860"
14SOC_bsc9131 = "B913x"
15SOC_bsc9132 = "B913x"
16
12do_configure[depends] += "virtual/kernel:do_shared_workdir" 17do_configure[depends] += "virtual/kernel:do_shared_workdir"
13do_configure_prepend() { 18do_configure_prepend() {
14 sed -i 's,$(KERNEL_DIR)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/kernel/Makefile 19 sed -i 's,$(KERNEL_DIR)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/kernel/Makefile
@@ -16,10 +21,6 @@ do_configure_prepend() {
16 21
17do_compile_prepend () { 22do_compile_prepend () {
18 cd ${S}/kernel 23 cd ${S}/kernel
19 case ${MACHINE} in
20 bsc9132qds|bsc9131rdb) SOC=B913x;;
21 b4860qds|b4420qds) SOC=B4860;;
22 esac
23} 24}
24 25
25INHIBIT_PACKAGE_STRIP = "1" 26INHIBIT_PACKAGE_STRIP = "1"