Makefile 827 B

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