1
0

Makefile 1.0 KB

123456789101112131415161718192021222324252627282930
  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. OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
  9. kernel-install:
  10. $(KERNEL_CROSS)objcopy $(OSTRIP) -S $(LINUX_DIR)/vmlinux \
  11. $(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. @echo 'Login as user root with password linux123 via ssh or console'
  18. endif
  19. ifeq ($(FS),nfsroot)
  20. imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
  21. @echo
  22. @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
  23. @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
  24. @echo 'Login as user root with password linux123 via ssh or console'
  25. endif