From d1032a63e40296d81e60e503c6584e7ccc0b96a5 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 10 Jun 2018 15:09:14 +0200 Subject: 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 Acked-by: Marcel Ziswiler --- recipes-images/images/files/library/imx6/update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recipes-images/images/files/library/imx6/update.sh') 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" ;; -- cgit v1.2.3