blob: 766d31414e54740b473dca645d24dfc62ef66e64 (
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
26
27
|
DESCRIPTION = "User space DMA module for DM365"
BASE_SRC_URI = "http://install.source.dir.local"
SRC_URI = "${BASE_SRC_URI}/dm365mm_${PV}.tar.gz;name=dm365mmtarball"
S = "${WORKDIR}/dm365mm_${PV}"
inherit module
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
find ${S} -name "*.ko" -exec rm {} \; || true
cd ${S}/module
make \
LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
MVTOOL_PREFIX="${TARGET_PREFIX}";
}
do_install () {
install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
install -m 0755 ${S}/module/dm365mmap.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
}
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = True
|