1
0

Makefile 778 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)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
  10. ifeq ($(FS),ext2-cf)
  11. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  12. @echo
  13. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  14. @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
  15. endif
  16. ifeq ($(FS),nfsroot)
  17. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  18. @echo
  19. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  20. @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  21. endif