]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-bootlets: avoid using linux-ivt module as it is mx25 dependant
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 May 2012 20:47:32 +0000 (17:47 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 May 2012 20:47:32 +0000 (17:47 -0300)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch [moved from meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_ivt-fix-paths.patch with 83% similarity]
meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb

similarity index 83%
rename from meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_ivt-fix-paths.patch
rename to meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch
index 2ce5a0f3779ea526fd93dfe87e45aa9e6cd751dd..abcf5b07faa13456968b714a5d54335d796fd5a2 100644 (file)
@@ -7,18 +7,18 @@ Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
 
-diff --git a/linux_ivt.bd b/linux_ivt.bd
+diff --git a/linux.bd b/linux.bd
 index 516f4f2..366ac22 100644
---- a/linux_ivt.bd
-+++ b/linux_ivt.bd
-@@ -4,10 +4,10 @@ options {
+--- a/linux.bd
++++ b/linux.bd
+@@ -4,10 +4,10 @@
        flags = 0x01;
  }
  sources {
 -      power_prep="./power_prep/power_prep";
 -      sdram_prep="./boot_prep/boot_prep";
 -      linux_prep="./linux_prep/output-target/linux_prep";
--      zImage="./zImage";
+-      zImage = "./zImage";
 +      power_prep="imx-bootlets-power_prep-@MACHINE@";
 +      sdram_prep="imx-bootlets-boot_prep-@MACHINE@";
 +      linux_prep="imx-bootlets-linux_prep-@MACHINE@";
index 941b4586e512163c216b90cca6287eebe34f9ce7..d2f51fd3aab27b1476249463651bbed3004a96be 100644 (file)
@@ -2,8 +2,10 @@ DESCRIPTION = "i.MXS boot streams"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
+PR = "r1"
+
 SRC_URI = "http://download.ossystems.com.br/bsp/freescale/source/imx-bootlets-src-${PV}.tar.gz \
-           file://linux_ivt-fix-paths.patch \
+           file://linux-fix-paths.patch \
            file://linux_prep-fix-cmdlines.patch"
 
 SRC_URI[md5sum] = "cf0ab3822dca694b930a051501c1d0e4"
@@ -28,7 +30,7 @@ python () {
 
 do_configure () {
     # Use machine specific binaries
-    sed -i 's,@MACHINE@,${MACHINE},g' linux_ivt.bd
+    sed -i 's,@MACHINE@,${MACHINE},g' linux.bd
 }
 
 do_compile () {
@@ -40,7 +42,7 @@ do_compile () {
 do_install () {
     install -d ${D}/boot/
     install -m 644 boot_prep/boot_prep power_prep/power_prep \
-                   linux_prep/output-target/linux_prep linux_ivt.bd \
+                   linux_prep/output-target/linux_prep linux.bd \
                    ${D}/boot
 }
 
@@ -52,7 +54,7 @@ do_deploy () {
        for f in boot_prep/boot_prep \
              power_prep/power_prep \
              linux_prep/output-target/linux_prep \
-             linux_ivt.bd; do
+             linux.bd; do
         full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}"
         symlink_name="imx-bootlets-`basename $f`-${MACHINE}"