summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-image-fstype.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/trdx-image-fstype.inc')
-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/