aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/image/Makefile
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-11 19:10:16 +0200
committerJohn Crispin <john@phrozen.org>2018-05-14 16:24:09 +0200
commit3b48111df9b87dc31c8eb5101cd30bfbe60cf7cf (patch)
treec06f368ee1e63ab35ac8f8e790b3e435df1f37b7 /target/linux/gemini/image/Makefile
parentedea934799911c54ffa7024ef9a650f9dfc8c695 (diff)
downloadupstream-3b48111df9b87dc31c8eb5101cd30bfbe60cf7cf.tar.gz
upstream-3b48111df9b87dc31c8eb5101cd30bfbe60cf7cf.tar.bz2
upstream-3b48111df9b87dc31c8eb5101cd30bfbe60cf7cf.zip
gemini: create zImage for DIR-685
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target/linux/gemini/image/Makefile')
-rw-r--r--target/linux/gemini/image/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 25371f6f13..3e122fc457 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -7,9 +7,12 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-# Build the special D-Link DNS-313 header generator tool
-# needed to generate the hard disk boot images then
-# build D-Link DNS-313 images using the special header tool.
+# Just copy the zImage for D-Link DIR-685
+define Build/dir685-images
+ cp $(IMAGE_KERNEL) $(BIN_DIR)/$(IMG_PREFIX)-dir685-zImage
+endef
+
+# Build D-Link DNS-313 images using the special header tool.
# rootfs.tgz and rd.tgz contains nothing, we only need them
# to satisfy the boot loader on the device. The zImage is
# the only real content.
@@ -79,6 +82,8 @@ define Device/dlink-dir-685
DEVICE_TITLE := D-Link DIR-685 Xtreme N Storage Router
DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) \
kmod-switch-rtl8366rb swconfig
+ IMAGES += dir685-image
+ IMAGE/dir685-image := dir685-images
endef
TARGET_DEVICES += dlink-dir-685