Makefile 910 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:= toybox
  5. PKG_VERSION:= 0.7.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 5bb3069f58faf12940d5cfde3209ac7f63210bebdd9023979b0c20cede126ea7
  8. PKG_DESCR:= linux tools collection
  9. PKG_SECTION:= base/apps
  10. PKG_URL:= http://landley.net/toybox/
  11. PKG_SITES:= http://landley.net/toybox/downloads/
  12. PKG_BB:= 1
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,TOYBOX,toybox,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  16. CONFIG_STYLE:= manual
  17. XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)"
  18. do-configure:
  19. cd $(WRKBUILD); PATH='$(HOST_PATH)' $(MAKE) defconfig
  20. toybox-install:
  21. $(CP) $(WRKINST)/* $(IDIR_TOYBOX)/
  22. include $(ADK_TOPDIR)/mk/pkg-bottom.mk