Makefile 817 B

12345678910111213141516171819202122
  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:=$(LINUX_DIR)/arch/x86/boot/bzImage
  9. ifeq ($(FS),initramfs)
  10. imageinstall: $(BIN_DIR)/$(INITRAMFS)
  11. @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
  12. @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  13. @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
  14. endif
  15. ifeq ($(FS),initramfs-piggyback)
  16. imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
  17. @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
  18. @echo 'The kernel+initramfs file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
  19. endif