Makefile 1005 B

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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= kexec-tools
  5. PKG_VERSION:= 2.0.8
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= f3abe96fa0793e63936725a4471429f070039a1e81e605deb378747194a50c47
  8. PKG_DESCR:= kernel exec tools
  9. PKG_SECTION:= sys/misc
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDEP:= zlib
  12. PKG_URL:= http://kernel.org/pub/linux/utils/kernel/kexec/
  13. PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/kexec/}
  14. PKG_ARCH_DEPENDS:= !mips !m68k
  15. PKG_CFLINE_KEXEC_TOOLS:= select ADK_KERNEL_KEXEC
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,KEXEC_TOOLS,kexec-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. kexec-tools-install:
  19. $(INSTALL_DIR) $(IDIR_KEXEC_TOOLS)/usr/sbin
  20. $(INSTALL_BIN) $(WRKINST)/usr/sbin/kexec \
  21. $(IDIR_KEXEC_TOOLS)/usr/sbin
  22. $(INSTALL_BIN) ./files/kreboot $(IDIR_KEXEC_TOOLS)/usr/sbin
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk