diff --git a/apps/Arm/vm_minimal/CMakeLists.txt b/apps/Arm/vm_minimal/CMakeLists.txt index 2469f648..ebe831b1 100644 --- a/apps/Arm/vm_minimal/CMakeLists.txt +++ b/apps/Arm/vm_minimal/CMakeLists.txt @@ -29,8 +29,7 @@ if("${KernelARMPlatform}" STREQUAL "tk1") add_custom_command( OUTPUT linux/linux-dtb COMMAND - bash -c - "which dtc && dtc -I dts -O dtb ${CAMKES_ARM_LINUX_DIR}/${device_tree_src} > linux/linux-dtb" + dtc -I dts -O dtb -o linux/linux-dtb ${CAMKES_ARM_LINUX_DIR}/${device_tree_src} VERBATIM DEPENDS ${CAMKES_ARM_LINUX_DIR}/${device_tree_src} )