aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch')
-rw-r--r--recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch b/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch
new file mode 100644
index 00000000..d54add12
--- /dev/null
+++ b/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch
@@ -0,0 +1,28 @@
+imx-bootlets: Fix paths for used during boot stream generation
+
+This will be run during image generation thus this won't use a
+complete path to allow for relocation.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+
+diff --git a/linux.bd b/linux.bd
+index 516f4f2..366ac22 100644
+--- 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";
++ power_prep="imx-bootlets-power_prep-@MACHINE@";
++ sdram_prep="imx-bootlets-boot_prep-@MACHINE@";
++ linux_prep="imx-bootlets-linux_prep-@MACHINE@";
++ zImage="zImage-@MACHINE@.bin@DTB@";
+ }
+
+ section (0) {