diff options
author | John Crispin <john@phrozen.org> | 2017-04-10 06:45:59 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-04-24 11:11:52 +0200 |
commit | da352c46235a69d333277b52c1d98fe334b94d9f (patch) | |
tree | 72cbc581550633feda18b5e3c96f38d1183baf21 /target/linux/mediatek/image/Makefile | |
parent | 003e15221a353a1162c7253c01864893469b66f4 (diff) | |
download | upstream-da352c46235a69d333277b52c1d98fe334b94d9f.tar.gz upstream-da352c46235a69d333277b52c1d98fe334b94d9f.tar.bz2 upstream-da352c46235a69d333277b52c1d98fe334b94d9f.zip |
mediatek: fix sysupgrade board detection
boardnames were changed with the recent target update. the sysupgrade board
detection was not updated properly.
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/image/Makefile')
-rw-r--r-- | target/linux/mediatek/image/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/mediatek/image/Makefile b/target/linux/mediatek/image/Makefile index ac42691261..177e4f723b 100644 --- a/target/linux/mediatek/image/Makefile +++ b/target/linux/mediatek/image/Makefile @@ -25,6 +25,9 @@ endif ) endef +COMPAT_NAND:=mediatek,mt7623-rfb-nand +COMPAT_NAND_EPHY:=mediatek,mt7623-rfb-nand-ephy + define Image/Build/squashfs $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) $(CP) $(KDIR)/root.squashfs $(BIN_DIR)/$(IMG_PREFIX)-root.squashfs @@ -39,8 +42,8 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) $(CP) $(KDIR)/uImage-NAND-initramfs $(BIN_DIR)/$(IMG_PREFIX)-uImage-NAND-initramfs $(CP) $(KDIR)/uImage-NAND-ePHY-initramfs $(BIN_DIR)/$(IMG_PREFIX)-uImage-NAND-ePHY-initramfs endif - $(call Image/Build/SysupgradeNAND,NAND,$(1),$(KDIR)/uImage-NAND) - $(call Image/Build/SysupgradeNAND,NAND-ePHY,$(1),$(KDIR)/uImage-NAND-ePHY) + $(call Image/Build/SysupgradeNAND,NAND,$(1),$(KDIR)/uImage-NAND,$$(COMPAT_NAND)) + $(call Image/Build/SysupgradeNAND,NAND-ePHY,$(1),$(KDIR)/uImage-NAND-ePHY,$$(COMPAT_NAND_EPHY)) endef define Image/Build |