diff options
Diffstat (limited to 'target/h8300/Makefile')
-rw-r--r-- | target/h8300/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/h8300/Makefile b/target/h8300/Makefile index cc6ae80bf..6c0add73e 100644 --- a/target/h8300/Makefile +++ b/target/h8300/Makefile @@ -6,6 +6,9 @@ include $(ADK_TOPDIR)/mk/kernel-build.mk include $(ADK_TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/vmlinux +ifeq ($(ADK_TARGET_KERNEL_VMLINUX_SREC),y) +KERNEL:=$(LINUX_DIR)/arch/h8300/boot/vmlinux.srec +endif OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id # target helper text @@ -33,6 +36,11 @@ ifeq ($(ADK_TARGET_SIM),y) @echo 'gdb> run earlyprintk=h8300-sim console=ttySC0' endif endif +ifeq ($(ADK_TARGET_FS),nfsroot) +targethelp: + @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' + @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)" +endif kernel-strip: $(TARGET_CROSS)objcopy $(OSTRIP) -S $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) @@ -50,3 +58,6 @@ endif ifeq ($(ADK_TARGET_FS),initramfspiggyback) imageinstall: createinitramfs targethelp endif +ifeq ($(ADK_TARGET_FS),nfsroot) +imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp +endif |