developer | bc730da | 2022-04-06 16:37:51 +0800 | [diff] [blame] | 1 | --- a/include/image-commands.mk |
| 2 | +++ b/include/image-commands.mk |
| 3 | @@ -203,7 +203,8 @@ define Build/fit |
| 4 | -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ |
| 5 | $(if $(DEVICE_FDT_NUM),-n $(DEVICE_FDT_NUM)) \ |
| 6 | -c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config-1") \ |
| 7 | - -A $(LINUX_KARCH) -v $(LINUX_VERSION) |
| 8 | + -A $(LINUX_KARCH) -v $(LINUX_VERSION) \ |
| 9 | + $(if $(CONFIG_TARGET_ROOTFS_SQUASHFS),-R $(ROOTFS/squashfs/$(DEVICE_NAME))) |
| 10 | PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new |
| 11 | @mv $@.new $@ |
| 12 | endef |