summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-08-01 15:33:48 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2012-08-15 14:05:58 -0300
commit8a6cdd8cefdc9f78118d0697d29ae95b85528651 (patch)
treea5473754899df25c7d5a7f6f3277d5f9882201c1
parentf7a9eb15a97a47a69bb93ed95d2caf4f715c8c6d (diff)
downloadmeta-fsl-arm-8a6cdd8cefdc9f78118d0697d29ae95b85528651.tar.gz
linux-imx (2.6.35.3): update to use linux-imx.inc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-kernel/linux/linux-imx_2.6.35.3.bb69
1 files changed, 18 insertions, 51 deletions
diff --git a/recipes-kernel/linux/linux-imx_2.6.35.3.bb b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
index ec46bfc..289b536 100644
--- a/recipes-kernel/linux/linux-imx_2.6.35.3.bb
+++ b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
@@ -1,60 +1,27 @@
1# Copyright (C) 2011-2012 Freescale Semiconductor 1# Copyright (C) 2011-2012 Freescale Semiconductor
2# Released under the MIT license (see COPYING.MIT for the terms) 2# Released under the MIT license (see COPYING.MIT for the terms)
3 3
4DESCRIPTION = "Linux kernel for imx platforms" 4PR = "${INC_PR}.0"
5LICENSE = "GPLv2" 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 6include linux-imx.inc
7PR = "r30"
8 7
9inherit kernel
10COMPATIBLE_MACHINE = "(mxs|mx5)" 8COMPATIBLE_MACHINE = "(mxs|mx5)"
11 9
12# Revision of imx_2.6.35_11.09.01 branch 10# Revision of imx_2.6.35_11.09.01 branch
13SRCREV = "3e2396eddb362ff70ee6eac43fb1f27f217dc0d1" 11SRCREV = "3e2396eddb362ff70ee6eac43fb1f27f217dc0d1"
14 12
15SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ 13SRC_URI += "file://0002-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch \
16 file://0002-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch \ 14 file://egalax_ts-enable-single-event-support.patch \
17 file://egalax_ts-enable-single-event-support.patch \ 15 file://NFS-Fix-nfsroot-support.patch \
18 file://NFS-Fix-nfsroot-support.patch \ 16 file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \
19 file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \ 17 file://no-unaligned-access.patch \
20 file://no-unaligned-access.patch \ 18 file://mx28-removecpufreq.patch \
21 file://mx28-removecpufreq.patch \ 19 file://mxs-duart-use-ttyAMA-for-device-name.patch \
22 file://mxs-duart-use-ttyAMA-for-device-name.patch \ 20 file://w1-fix-support-multiple-master.patch \
23 file://w1-fix-support-multiple-master.patch \ 21 file://smsc95xx-randomize-mac-once.patch \
24 file://smsc95xx-randomize-mac-once.patch \ 22 file://dm9601-support-for-usb-ethernet-0x0fe6-0x9700.patch \
25 file://dm9601-support-for-usb-ethernet-0x0fe6-0x9700.patch \ 23 file://wire-up-sys_accept4-on-ARM.patch \
26 file://wire-up-sys_accept4-on-ARM.patch \ 24 file://0001-mx53_loco-add-USR-led-support.patch \
27 file://0001-mx53_loco-add-USR-led-support.patch \ 25 file://002_Return_ERESTARTSYS_from_IPU_GET_EVENT.patch \
28 file://002_Return_ERESTARTSYS_from_IPU_GET_EVENT.patch \ 26 file://003_Sanitise_ipu_interrupt_return_value.patch \
29 file://003_Sanitise_ipu_interrupt_return_value.patch \ 27"
30 file://defconfig \
31 "
32
33#EXTRA_OEMAKE += "V=1"
34
35S = "${WORKDIR}/git"
36
37# install nedded headers for imx-test compilation
38do_install_append() {
39 # bounds.h may be used by a module and is currently missing
40 if [ -d include/generated ]; then
41 cp include/generated/* $kerneldir/include/generated/
42 fi
43
44 # Host architecture object file
45 rm $kerneldir/scripts/kconfig/kxgettext.o
46}
47
48sysroot_stage_all_append() {
49 # denzil does not have KERNEL_SRC_PATH so we default to /kernel
50 destdir=${KERNEL_SRC_PATH}
51 if [ -z "$destdir" ]; then
52 destdir=/kernel
53 fi
54
55 # Copy native binaries need for imx-test build onto sysroot
56 mkdir -p ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/basic \
57 ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/mod
58 cp ${S}/scripts/basic/fixdep ${SYSROOT_DESTDIR}$destdir/scripts/basic
59 cp ${S}/scripts/mod/modpost ${SYSROOT_DESTDIR}$destdir/scripts/mod
60}