bcm28xx: update kernel
[openadk.git] / package / toybox / Makefile
blob3a620a0922f16c1eda4fb6857c4b70847680ca32
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= toybox
7 PKG_VERSION:= 0.7.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 5bb3069f58faf12940d5cfde3209ac7f63210bebdd9023979b0c20cede126ea7
10 PKG_DESCR:= linux tools collection
11 PKG_SECTION:= base/apps
12 PKG_URL:= http://landley.net/toybox/
13 PKG_SITES:= http://landley.net/toybox/downloads/
14 PKG_BB:= 1
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,TOYBOX,toybox,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIG_STYLE:= manual
23 XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)"
25 do-configure:
26 -rm $(WRKBUILD)/toys/other/swap*.c
27 cd $(WRKBUILD); PATH='$(HOST_PATH)' $(MAKE) defconfig
29 toybox-install:
30 $(CP) $(WRKINST)/* $(IDIR_TOYBOX)/
32 include $(ADK_TOPDIR)/mk/pkg-bottom.mk