Makefile 927 B

12345678910111213141516171819202122232425262728293031
  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. PKG_NAME:= kexec-tools
  5. PKG_VERSION:= 2.0.5
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= da5887e30eec16895e9d98ef072dc257
  8. PKG_DESCR:= kexec tools
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDEP:= zlib
  12. PKG_URL:= http://kernel.org/pub/linux/utils/kernel/kexec/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_ARCH_DEPENDS:= !mips !m68k
  16. PKG_CFLINE_KEXEC_TOOLS:= select ADK_KERNEL_KEXEC
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,KEXEC_TOOLS,kexec-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. kexec-tools-install:
  20. $(INSTALL_DIR) $(IDIR_KEXEC_TOOLS)/usr/sbin
  21. $(INSTALL_BIN) $(WRKINST)/usr/sbin/kexec \
  22. $(IDIR_KEXEC_TOOLS)/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk