Makefile 867 B

12345678910111213141516171819202122232425
  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)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
  12. ifeq ($(FS),nfsroot)
  13. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  14. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  15. @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  16. endif
  17. ifeq ($(FS),initramfs)
  18. imageinstall: $(BIN_DIR)/$(INITRAMFS)
  19. cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
  20. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  21. @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
  22. endif