blob: b95cff103bb3bbfcccd4f40541909b5281128712 [file] [log] [blame]
developer23f9f0f2023-06-15 13:06:25 +08001Index: lede/target/linux/mediatek/image/Makefile
2===================================================================
3--- lede.orig/target/linux/mediatek/image/Makefile 2023-03-14 10:22:26.601486141 +0800
4+++ lede/target/linux/mediatek/image/Makefile 2023-03-14 10:25:01.346275356 +0800
5@@ -18,13 +18,13 @@
6
7 # build squashfs-hashed
8 define Build/squashfs-hashed
9- $(CP) $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME)) $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed
10+ $(CP) $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME)) $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-$(firstword $(DEVICE_DTS))
11 $(TOPDIR)/scripts/make-squashfs-hashed.sh \
12- $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed \
13+ $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-$(firstword $(DEVICE_DTS)) \
14 $(STAGING_DIR_HOST) \
15 $(TOPDIR) \
16- $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-summary
17- fdt-patch-dm-verify $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-summary \
18+ $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-summary-$(firstword $(DEVICE_DTS))
19+ fdt-patch-dm-verify $(ROOTFS/$(FILESYSTEMS)/$(DEVICE_NAME))-hashed-summary-$(firstword $(DEVICE_DTS)) \
20 $(KDIR)/image-$(firstword $(DEVICE_DTS)).dtb $(KDIR)/image-sb-$(firstword $(DEVICE_DTS)).dtb \
21 $(HASHED_BOOT_DEVICE)
22 endef