Makefile 907 B

12345678910111213141516171819202122232425
  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 \
  10. $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
  11. ifeq ($(FS),initramfs)
  12. imageinstall: $(BIN_DIR)/$(INITRAMFS)
  13. @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  14. @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
  15. @echo 'Login as user root with password linux123 via ssh or console'
  16. endif
  17. ifeq ($(FS),initramfs-piggyback)
  18. imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
  19. @echo 'The kernel+initramfs file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  20. @echo 'Login as user root with password linux123 via ssh or console'
  21. endif