summaryrefslogtreecommitdiff
path: root/target/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'target/h8300')
-rw-r--r--target/h8300/Makefile11
-rw-r--r--target/h8300/systems/hitachi-edosk26741
2 files changed, 12 insertions, 0 deletions
diff --git a/target/h8300/Makefile b/target/h8300/Makefile
index 48a8b1e52..df8939529 100644
--- a/target/h8300/Makefile
+++ b/target/h8300/Makefile
@@ -7,6 +7,10 @@ include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
+ifeq ($(ADK_TARGET_KERNEL_UIMAGEBIN),y)
+KERNEL:=$(LINUX_DIR)/arch/h8300/boot/uImage.bin
+OSTRIP:=
+endif
ifeq ($(ADK_TARGET_KERNEL_ZIMAGE),y)
KERNEL:=$(LINUX_DIR)/arch/h8300/boot/zImage
OSTRIP:=
@@ -16,6 +20,10 @@ KERNEL:=$(LINUX_DIR)/arch/h8300/boot/vmlinux.srec
endif
# target helper text
+ifeq ($(ADK_TARGET_FS),archive)
+targethelp:
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"
+endif
ifeq ($(ADK_TARGET_FS),initramfs)
targethelp:
@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
@@ -57,6 +65,9 @@ kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
# filesystem specific targets
+ifeq ($(ADK_TARGET_FS),archive)
+imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
+endif
ifeq ($(ADK_TARGET_FS),initramfs)
imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
endif
diff --git a/target/h8300/systems/hitachi-edosk2674 b/target/h8300/systems/hitachi-edosk2674
index a9a125fcc..dcd6d35df 100644
--- a/target/h8300/systems/hitachi-edosk2674
+++ b/target/h8300/systems/hitachi-edosk2674
@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
select ADK_TARGET_PACKAGE_TXZ
select ADK_TARGET_KERNEL_WITH_COMPRESSION
select ADK_HOST_BUILD_U_BOOT_H8300
+ select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_KERNEL_UIMAGEBIN
help
Hitachi EDOSK2674 H8S development board.