diff options
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch | 2 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch index abcf5b07f..d54add120 100644 --- a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch | |||
| @@ -22,7 +22,7 @@ index 516f4f2..366ac22 100644 | |||
| 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@"; |
| 25 | + zImage="zImage-@MACHINE@.bin"; | 25 | + zImage="zImage-@MACHINE@.bin@DTB@"; |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | section (0) { | 28 | section (0) { |
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 d2f51fd3a..6cea049ea 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,7 +2,7 @@ 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" | 5 | PR = "r2" |
| 6 | 6 | ||
| 7 | 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 \ |
| 8 | file://linux-fix-paths.patch \ | 8 | file://linux-fix-paths.patch \ |
| @@ -30,7 +30,8 @@ python () { | |||
| 30 | 30 | ||
| 31 | do_configure () { | 31 | do_configure () { |
| 32 | # Use machine specific binaries | 32 | # Use machine specific binaries |
| 33 | sed -i 's,@MACHINE@,${MACHINE},g' linux.bd | 33 | sed 's,@MACHINE@,${MACHINE},g;s,@DTB@,-dtb,g' < linux.bd > linux.bd-dtb |
| 34 | sed -i 's,@MACHINE@,${MACHINE},g;s,@DTB@,,g' linux.bd | ||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | do_compile () { | 37 | do_compile () { |
| @@ -42,7 +43,8 @@ do_compile () { | |||
| 42 | do_install () { | 43 | do_install () { |
| 43 | install -d ${D}/boot/ | 44 | install -d ${D}/boot/ |
| 44 | install -m 644 boot_prep/boot_prep power_prep/power_prep \ | 45 | install -m 644 boot_prep/boot_prep power_prep/power_prep \ |
| 45 | linux_prep/output-target/linux_prep linux.bd \ | 46 | linux_prep/output-target/linux_prep \ |
| 47 | linux.bd linux.bd-dtb \ | ||
| 46 | ${D}/boot | 48 | ${D}/boot |
| 47 | } | 49 | } |
| 48 | 50 | ||
| @@ -54,7 +56,7 @@ do_deploy () { | |||
| 54 | for f in boot_prep/boot_prep \ | 56 | for f in boot_prep/boot_prep \ |
| 55 | power_prep/power_prep \ | 57 | power_prep/power_prep \ |
| 56 | linux_prep/output-target/linux_prep \ | 58 | linux_prep/output-target/linux_prep \ |
| 57 | linux.bd; do | 59 | linux.bd linux.bd-dtb; do |
| 58 | full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" | 60 | full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" |
| 59 | symlink_name="imx-bootlets-`basename $f`-${MACHINE}" | 61 | symlink_name="imx-bootlets-`basename $f`-${MACHINE}" |
| 60 | 62 | ||
