diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-05-21 17:47:32 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-05-21 17:47:32 -0300 |
| commit | 494a17b982a47fabef90bb9bee5a0089d8d0df2a (patch) | |
| tree | 1d2535e80560665b2e60511b5f20ab7fb213f86e | |
| parent | 46b32bfcffe32eeb1642300bf928e229a8302d8f (diff) | |
| download | meta-freescale-494a17b982a47fabef90bb9bee5a0089d8d0df2a.tar.gz | |
imx-bootlets: avoid using linux-ivt module as it is mx25 dependant
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch (renamed from meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_ivt-fix-paths.patch) | 10 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb | 10 |
2 files changed, 11 insertions, 9 deletions
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_ivt-fix-paths.patch b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch index 2ce5a0f37..abcf5b07f 100644 --- a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_ivt-fix-paths.patch +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch | |||
| @@ -7,18 +7,18 @@ Upstream-Status: Inappropriate [configuration] | |||
| 7 | 7 | ||
| 8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | 8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 9 | 9 | ||
| 10 | diff --git a/linux_ivt.bd b/linux_ivt.bd | 10 | diff --git a/linux.bd b/linux.bd |
| 11 | index 516f4f2..366ac22 100644 | 11 | index 516f4f2..366ac22 100644 |
| 12 | --- a/linux_ivt.bd | 12 | --- a/linux.bd |
| 13 | +++ b/linux_ivt.bd | 13 | +++ b/linux.bd |
| 14 | @@ -4,10 +4,10 @@ options { | 14 | @@ -4,10 +4,10 @@ |
| 15 | flags = 0x01; | 15 | flags = 0x01; |
| 16 | } | 16 | } |
| 17 | sources { | 17 | sources { |
| 18 | - power_prep="./power_prep/power_prep"; | 18 | - power_prep="./power_prep/power_prep"; |
| 19 | - sdram_prep="./boot_prep/boot_prep"; | 19 | - sdram_prep="./boot_prep/boot_prep"; |
| 20 | - linux_prep="./linux_prep/output-target/linux_prep"; | 20 | - linux_prep="./linux_prep/output-target/linux_prep"; |
| 21 | - zImage="./zImage"; | 21 | - zImage = "./zImage"; |
| 22 | + power_prep="imx-bootlets-power_prep-@MACHINE@"; | 22 | + power_prep="imx-bootlets-power_prep-@MACHINE@"; |
| 23 | + sdram_prep="imx-bootlets-boot_prep-@MACHINE@"; | 23 | + sdram_prep="imx-bootlets-boot_prep-@MACHINE@"; |
| 24 | + linux_prep="imx-bootlets-linux_prep-@MACHINE@"; | 24 | + linux_prep="imx-bootlets-linux_prep-@MACHINE@"; |
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb index 941b4586e..d2f51fd3a 100644 --- a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb | |||
| @@ -2,8 +2,10 @@ DESCRIPTION = "i.MXS boot streams" | |||
| 2 | LICENSE = "GPL-2.0" | 2 | LICENSE = "GPL-2.0" |
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" |
| 4 | 4 | ||
| 5 | PR = "r1" | ||
| 6 | |||
| 5 | SRC_URI = "http://download.ossystems.com.br/bsp/freescale/source/imx-bootlets-src-${PV}.tar.gz \ | 7 | SRC_URI = "http://download.ossystems.com.br/bsp/freescale/source/imx-bootlets-src-${PV}.tar.gz \ |
| 6 | file://linux_ivt-fix-paths.patch \ | 8 | file://linux-fix-paths.patch \ |
| 7 | file://linux_prep-fix-cmdlines.patch" | 9 | file://linux_prep-fix-cmdlines.patch" |
| 8 | 10 | ||
| 9 | SRC_URI[md5sum] = "cf0ab3822dca694b930a051501c1d0e4" | 11 | SRC_URI[md5sum] = "cf0ab3822dca694b930a051501c1d0e4" |
| @@ -28,7 +30,7 @@ python () { | |||
| 28 | 30 | ||
| 29 | do_configure () { | 31 | do_configure () { |
| 30 | # Use machine specific binaries | 32 | # Use machine specific binaries |
| 31 | sed -i 's,@MACHINE@,${MACHINE},g' linux_ivt.bd | 33 | sed -i 's,@MACHINE@,${MACHINE},g' linux.bd |
| 32 | } | 34 | } |
| 33 | 35 | ||
| 34 | do_compile () { | 36 | do_compile () { |
| @@ -40,7 +42,7 @@ do_compile () { | |||
| 40 | do_install () { | 42 | do_install () { |
| 41 | install -d ${D}/boot/ | 43 | install -d ${D}/boot/ |
| 42 | install -m 644 boot_prep/boot_prep power_prep/power_prep \ | 44 | install -m 644 boot_prep/boot_prep power_prep/power_prep \ |
| 43 | linux_prep/output-target/linux_prep linux_ivt.bd \ | 45 | linux_prep/output-target/linux_prep linux.bd \ |
| 44 | ${D}/boot | 46 | ${D}/boot |
| 45 | } | 47 | } |
| 46 | 48 | ||
| @@ -52,7 +54,7 @@ do_deploy () { | |||
| 52 | for f in boot_prep/boot_prep \ | 54 | for f in boot_prep/boot_prep \ |
| 53 | power_prep/power_prep \ | 55 | power_prep/power_prep \ |
| 54 | linux_prep/output-target/linux_prep \ | 56 | linux_prep/output-target/linux_prep \ |
| 55 | linux_ivt.bd; do | 57 | linux.bd; do |
| 56 | full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" | 58 | full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" |
| 57 | symlink_name="imx-bootlets-`basename $f`-${MACHINE}" | 59 | symlink_name="imx-bootlets-`basename $f`-${MACHINE}" |
| 58 | 60 | ||
