summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/library/imx6/update.sh
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-06-10 15:09:14 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-13 13:01:52 +0200
commitd1032a63e40296d81e60e503c6584e7ccc0b96a5 (patch)
treecda1406ba293586993c372a1beb8c18fe4e44599 /recipes-images/images/files/library/imx6/update.sh
parentb3665ffc2c13cb820eb5bef43979d5dc2e321753 (diff)
tdx-image-fstype: configure update.sh from KERNEL_DEVICE_TREE
The machine configurations provide a list of built device tree files. Use said variable to modify update.sh rather than maintaining the same list in the machine configuartion and update.sh. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-images/images/files/library/imx6/update.sh')
-rwxr-xr-xrecipes-images/images/files/library/imx6/update.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-images/images/files/library/imx6/update.sh b/recipes-images/images/files/library/imx6/update.sh
index b624ba6..8c29e47 100755
--- a/recipes-images/images/files/library/imx6/update.sh
+++ b/recipes-images/images/files/library/imx6/update.sh
@@ -131,9 +131,7 @@ case "$MODTYPE" in
# assumed minimal eMMC size [in sectors of 512]
EMMC_SIZE=$(expr 1024 \* 3500 \* 2)
IMAGEFILE=root.ext4
- KERNEL_DEVICETREE="imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb \
- imx6q-apalis-ixora.dtb imx6q-apalis_v1_0-ixora.dtb \
- imx6q-apalis-ixora-v1.1.dtb"
+ KERNEL_DEVICETREE="%kernel_device_trees%"
LOCPATH="`pwd`/imx_flash"
OUT_DIR="$OUT_DIR/apalis_imx6"
;;
@@ -141,7 +139,7 @@ case "$MODTYPE" in
# assumed minimal eMMC size [in sectors of 512]
EMMC_SIZE=$(expr 1024 \* 3500 \* 2)
IMAGEFILE=root.ext4
- KERNEL_DEVICETREE="imx6dl-colibri-eval-v3.dtb imx6dl-colibri-cam-eval-v3.dtb imx6dl-colibri-aster.dtb"
+ KERNEL_DEVICETREE="%kernel_device_trees%"
LOCPATH="`pwd`/imx_flash"
OUT_DIR="$OUT_DIR/colibri_imx6"
;;