Makefile 956 B

12345678910111213141516171819202122232425262728
  1. # $Id: Makefile 30 2008-09-04 13:31:09Z wbx $
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include $(TOPDIR)/rules.mk
  6. include $(TOPDIR)/mk/kernel.mk
  7. include $(TOPDIR)/mk/modules.mk
  8. include $(TOPDIR)/mk/kernel-build.mk
  9. include $(TOPDIR)/mk/image.mk
  10. kernel-install:
  11. cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/kernel
  12. ifeq ($(FS),ext2)
  13. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  14. @echo
  15. @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
  16. @echo "Use following command to create a QEMU Image:"
  17. @echo "sudo ./scripts/create-image.sh qemu.img $(BIN_DIR)/$(ROOTFSTARBALL)"
  18. endif
  19. ifeq ($(FS),initramfs)
  20. imageinstall: $(BIN_DIR)/$(INITRAMFS)
  21. cp $(LINUX_DIR)/arch/x86/boot/bzImage $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
  22. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  23. @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
  24. endif