summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Voltz <andy.voltz@timesys.com>2014-02-24 13:24:39 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2014-02-26 15:55:31 -0300
commit1a61a2e83961edc3a045f85d92226e7481b118f5 (patch)
tree3ae4f4a309237cb041082eb1820d2c0044b6f02a
parent3c6b1bffc9dc438f06e5ac6a87e4f5aca39a33c0 (diff)
downloadmeta-fsl-arm-1a61a2e83961edc3a045f85d92226e7481b118f5.tar.gz
kernel-module-mcc: bump to version 1.04
* Fixes a cache collision with MQX * Update MQX compatibility to 4.0.2 * Integrate makefile patch Change-Id: If7dd5bcb3c3e882fc13709ab15cb45fcfed77b68 Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Anthony Felice <tony.felice@timesys.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc-kmod-oe-module-makefile.patch37
-rw-r--r--recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb (renamed from recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.03.bb)7
2 files changed, 3 insertions, 41 deletions
diff --git a/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc-kmod-oe-module-makefile.patch b/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc-kmod-oe-module-makefile.patch
deleted file mode 100644
index dc4b947..0000000
--- a/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc-kmod-oe-module-makefile.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1OE-Core uses "make modules && make modules install" for kernel modules
2It also uses KERNEL_SRC to specify the kernel source tree location
3
4This patch adds support for modules and modules_install targets, and
5adds logic to pickup INSTALL_MOD_PATH and use KERNEL_SRC
6
7Upstream-status: Pending
8
9diff -Nuarp mcc-kmod-1.03-orig/Makefile mcc-kmod-1.03/Makefile
10--- mcc-kmod-1.03-orig/Makefile 2013-08-12 14:11:56.439711957 -0400
11+++ mcc-kmod-1.03/Makefile 2013-08-12 14:16:03.472603053 -0400
12@@ -3,17 +3,19 @@ mcc-y = mcc_linux.o mcc_shm_linux.o mcc_
13
14 PWD := $(shell pwd)
15
16-EXTRA_CFLAGS += -I$(KERNELDIR)/include -Wno-format
17+EXTRA_CFLAGS += -I$(KERNEL_SRC)/include -Wno-format
18
19-all:
20- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
21+DESTDIR ?= $(INSTALL_MOD_PATH)
22
23-install: all
24- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install INSTALL_MOD_PATH=$(DESTDIR)
25+modules all:
26+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
27+
28+modules_install install: all
29+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install INSTALL_MOD_PATH=$(DESTDIR)
30 @echo Copying mcc headers to toolchain
31 mkdir -p $(DESTDIR)/usr/include/linux
32 cp -f {mcc_linux.h,mcc_common.h,mcc_config.h} $(DESTDIR)/usr/include/linux/
33
34
35 clean:
36- $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
37+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
diff --git a/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.03.bb b/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb
index 4ff7fbd..3accf90 100644
--- a/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.03.bb
+++ b/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c8959abcbbe4d6676c58eab9354019e6"
5 5
6inherit module 6inherit module
7 7
8SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2 \ 8SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2"
9 file://mcc-kmod-oe-module-makefile.patch"
10 9
11SRC_URI[md5sum] = "046b0a86d70b9e3424efc86f442bc335" 10SRC_URI[md5sum] = "d72e8f6575605906be94ac2d26e6bc26"
12SRC_URI[sha256sum] = "44ed7f812625ef764d62ff0871784ceb155ef86df8932e91830f9222adbf3a9e" 11SRC_URI[sha256sum] = "f86a860e68cefdce70796572d97ddd4cc5e08d9f13117b431599add55bf1a651"
13 12
14S = "${WORKDIR}/mcc-kmod-${PV}" 13S = "${WORKDIR}/mcc-kmod-${PV}"
15 14