Makefile 980 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= upslug2
  5. PKG_VERSION:= 5ce4239b8e6da802904b30aaa2ebcc7bc25d0200
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa
  8. PKG_DESCR:= flash utility for Linksys NSLU2
  9. PKG_SECTION:= dev/tools
  10. PKG_SITES:= https://github.com/nslu2-linux/UpSlug2.git
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. PKG_CFLINE_UPSLUG2:= depends on ADK_HOST_ONLY
  13. include $(ADK_TOPDIR)/mk/host.mk
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,UPSLUG2,upslug2,$(PKG_VERSION)-${PKG_RELEASE}))
  16. AUTOTOOL_STYLE:= autoreconf
  17. HOST_STYLE:= auto
  18. upslug2-hostinstall:
  19. cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  20. ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
  21. include ${ADK_TOPDIR}/mk/host-bottom.mk
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk