Makefile 1.2 KB

1234567891011121314151617181920212223242526272829
  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 'Do not forget to create device nodes for console,null and tty in your nfsroot'
  15. @echo 'Login as user root with password linux123 via ssh or console'
  16. endif
  17. ifeq ($(FS),yaffs)
  18. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  19. @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  20. @echo 'The root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  21. @echo 'Format your NAND with Routerboot, boot via NFS and'
  22. @echo 'then install kernel and filesystem:'
  23. @echo 'mount -t yaffs2 /dev/mtdblock0 /mnt'
  24. @echo 'cp ${ADK_TARGET}-${FS}-kernel /mnt/kernel'
  25. @echo 'Login as user root with password linux123 via ssh or console'
  26. endif