diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-08-10 16:53:40 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-08-15 14:05:58 -0300 |
commit | 078cdb9ba3131711380d813fa77ad559ec059ce5 (patch) | |
tree | 42bdbfa5460f6dc2969de64cb1b0b447e877551a | |
parent | 8a6cdd8cefdc9f78118d0697d29ae95b85528651 (diff) | |
download | meta-fsl-arm-078cdb9ba3131711380d813fa77ad559ec059ce5.tar.gz |
linux-imx (3.0.15): update to use linux-imx
This simplify the recipe a lot and avoid code duplication among kernel
recipes.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-kernel/linux/linux-imx_3.0.15.bb | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/recipes-kernel/linux/linux-imx_3.0.15.bb b/recipes-kernel/linux/linux-imx_3.0.15.bb index fe62daf..3c14535 100644 --- a/recipes-kernel/linux/linux-imx_3.0.15.bb +++ b/recipes-kernel/linux/linux-imx_3.0.15.bb | |||
@@ -1,30 +1,12 @@ | |||
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 | ||
4 | DESCRIPTION = "Linux kernel for imx platforms" | 4 | include linux-imx.inc |
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
7 | PR = "r2" | ||
8 | 5 | ||
9 | inherit kernel | 6 | PR = "${INC_PR}.1" |
10 | COMPATIBLE_MACHINE = "(mx6)" | ||
11 | |||
12 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;tag=rel_imx_3.0.15_12.02.01\ | ||
13 | file://defconfig \ | ||
14 | " | ||
15 | 7 | ||
16 | S = "${WORKDIR}/git" | 8 | COMPATIBLE_MACHINE = "(mx6)" |
17 | 9 | ||
18 | # install nedded headers for imx-test compilation | 10 | # Revision of 12.02.01 tag |
19 | do_install_append() { | 11 | SRCREV = "1e54cdcdb6940a58d5e09174410fe0fe28041fa3" |
20 | # bounds.h may be used by a module and is currently missing | 12 | LOCALVERSION = "-12.02.01+yocto-${DATE}" |
21 | if [ -d include/generated ]; then | ||
22 | cp include/generated/* $kerneldir/include/generated/ | ||
23 | fi | ||
24 | # scripts/basic/fixdep is used in imx-test | ||
25 | mkdir -p $kerneldir/scripts/basic/ | ||
26 | cp scripts/basic/fixdep $kerneldir/scripts/basic/ | ||
27 | # scripts/mod/modpost is used in imx-test | ||
28 | mkdir -p $kerneldir/scripts/mod | ||
29 | cp scripts/mod/modpost $kerneldir/scripts/mod | ||
30 | } | ||