Makefile 957 B

1234567891011121314151617181920212223242526
  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),nfsroot)
  11. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  12. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  13. @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  14. endif
  15. ifeq ($(FS),yaffs)
  16. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  17. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  18. @echo 'The root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  19. @echo 'Format your NAND with Routerboot, boot via NFS and'
  20. @echo 'then install kernel and filesystem:'
  21. @echo 'mount -t yaffs2 /dev/mtdblock0 /mnt'
  22. @echo 'cp ${DEVICE}-${ARCH}-kernel /mnt/kernel'
  23. endif