Makefile 1.1 KB

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. include $(TOPDIR)/mk/kernel.mk
  5. include $(TOPDIR)/mk/modules.mk
  6. include $(TOPDIR)/mk/kernel-build.mk
  7. include $(TOPDIR)/mk/image.mk
  8. kernel-install:
  9. @cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
  10. ifeq ($(FS),nfsroot)
  11. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  12. @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  13. @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  14. @echo 'Login as user root with password linux123 via ssh or console'
  15. endif
  16. ifeq ($(FS),yaffs)
  17. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  18. @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  19. @echo 'The root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  20. @echo 'Format your NAND with Routerboot, boot via NFS and'
  21. @echo 'then install kernel and filesystem:'
  22. @echo 'mount -t yaffs2 /dev/mtdblock0 /mnt'
  23. @echo 'cp ${ADK_TARGET}-${FS}-kernel /mnt/kernel'
  24. @echo 'Login as user root with password linux123 via ssh or console'
  25. endif