Makefile 1.1 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)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
  10. ifeq ($(FS),ext2-block)
  11. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  12. @echo
  13. @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
  14. @echo "To install everything to CompactFlash use scripts/install.sh"
  15. @echo 'Login as user root with password linux123 via ssh or console'
  16. endif
  17. ifeq ($(FS),nfsroot)
  18. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  19. @cp $(LINUX_DIR)/arch/x86/boot/bzImage \
  20. $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel $(MAKE_TRACE)
  21. @echo
  22. @echo 'The linux kernel is here: $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel'
  23. @echo 'The nfs root tarball is here: ${BIN_DIR}/${ROOTFSTARBALL}'
  24. @echo 'Do not forget to create device nodes for console,null and tty in your nfsroot'
  25. @echo 'Login as user root with password linux123 via ssh or console'
  26. endif