Makefile 898 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:= 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. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,TOYBOX,toybox,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  15. CONFIG_STYLE:= manual
  16. XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)"
  17. do-configure:
  18. cd $(WRKBUILD); PATH='$(HOST_PATH)' $(MAKE) defconfig
  19. toybox-install:
  20. $(CP) $(WRKINST)/* $(IDIR_TOYBOX)/
  21. include $(ADK_TOPDIR)/mk/pkg-bottom.mk