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
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
/
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
)))
23 XAKE_FLAGS
+= CC
="gcc" V
=1 PREFIX
="$(WRKINST)"
26 -rm $(WRKBUILD
)/toys
/other
/swap
*.c
27 cd
$(WRKBUILD
); PATH
='$(HOST_PATH)' $(MAKE
) defconfig
30 $(CP
) $(WRKINST
)/* $(IDIR_TOYBOX
)/
32 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk