Makefile 866 B

1234567891011121314151617181920212223242526272829303132
  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:= heirloom-cpio
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= patched version of heirloom cpio
  8. PKG_SECTION:= archive
  9. PKG_CFLINE_HEIRLOOM_CPIO:= depends on ADK_HOST_ONLY
  10. NO_DISTFILES:= 1
  11. include ${TOPDIR}/mk/host.mk
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call HOST_template,HEIRLOOM_CPIO,heirloom-cpio,${PKG_VERSION}-${PKG_RELEASE}))
  14. HOST_STYLE:= manual
  15. host-build:
  16. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  17. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  18. heirloom-cpio-hostinstall:
  19. ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
  20. ${INSTALL_BIN} ${WRKBUILD}/cpio ${STAGING_HOST_DIR}/usr/bin
  21. include ${TOPDIR}/mk/host-bottom.mk
  22. include ${TOPDIR}/mk/pkg-bottom.mk