summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-06-06 11:32:05 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-30 13:28:27 +0200
commit82a21452cfed6867ed7843bb544c549b685a65cc (patch)
tree5740c031c6aca2466fd24134d973ac54fc55bb48 /recipes
parent703c0c0ebdfc938360f16538607c5ea0d3df5535 (diff)
trdx-image-fstype: imx7: deploy zImage/device trees to bin folder
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/images/trdx-image-fstype.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index 0f9e68d..e5817d9 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -96,8 +96,7 @@ imagedeploy_kernel() {
}
imagedeploy_kernel_mx7() {
- # Do nothing, we use the kernel from /boot inside root fs
- :
+ do_imagedeploy_kernel_dtb
}
imagedeploy_kernel_tegra2() {
@@ -108,6 +107,10 @@ imagedeploy_kernel_tegra2() {
}
imagedeploy_kernel_vf() {
+ do_imagedeploy_kernel_dtb
+}
+
+do_imagedeploy_kernel_dtb() {
# put kernel, device-tree into the bin directories
cp -pP ${DEPLOY_DIR_IMAGE}/zImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
ls ${DEPLOY_DIR_IMAGE}/*.dtb 2> /dev/null && cp -pP ${DEPLOY_DIR_IMAGE}/*.dtb ${IMAGE_ROOTFS}/../${MACHINE}_bin/