aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-04-21 09:38:52 +0200
committerJohn Crispin <john@phrozen.org>2017-04-24 11:11:52 +0200
commita02cb1f311218ef12cc5502e0841495ec7682100 (patch)
treeda07681b3b3380a7103c9c7fc908f914d5a74f29 /target/linux/mediatek/image/Makefile
parent4c6ae885c5796c94976bc5aaca071fe8f8b47f39 (diff)
downloadupstream-a02cb1f311218ef12cc5502e0841495ec7682100.tar.gz
upstream-a02cb1f311218ef12cc5502e0841495ec7682100.tar.bz2
upstream-a02cb1f311218ef12cc5502e0841495ec7682100.zip
mediatek: add support for the NAND-ePHY board
This is the same as the NAND board but gmac1 is wired to an external phy. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/image/Makefile')
-rw-r--r--target/linux/mediatek/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/Makefile b/target/linux/mediatek/image/Makefile
index 3139197dd3..ac42691261 100644
--- a/target/linux/mediatek/image/Makefile
+++ b/target/linux/mediatek/image/Makefile
@@ -32,11 +32,15 @@ define Image/Build/squashfs
$(call Image/Build/SysupgradeCombined,eMMC,squashfs)
$(call Image/BuilduImage,NAND)
+ $(call Image/BuilduImage,NAND-ePHY)
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
$(call Image/BuilduImage,NAND,-initramfs)
+ $(call Image/BuilduImage,NAND-ePHY,-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)
endef
define Image/Build