summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kernel-modules/kernel-module-ipc.inc
blob: a496ab6df75112997b00fa9616ba96e23f1e0e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY = "Linux IPC KERNEL MODULE "
DESCRIPTION = "DSP boot application and ipc test application"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10"

require recipes-extended/ipc-ust/ipc.inc

inherit module qoriq_build_64bit_kernel

S = "${WORKDIR}/git"

do_configure[depends] += "virtual/kernel:do_shared_workdir"
do_configure_prepend() {
    sed -i 's,$(KERNEL_DIR)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/kernel/Makefile
}

do_compile_prepend () {
    cd ${S}/kernel
    case ${MACHINE} in
        bsc9132qds|bsc9131rdb) SOC=B913x;;
        b4860qds|b4420qds) SOC=B4860;;
    esac
}

INHIBIT_PACKAGE_STRIP = "1"