blob: 3966a32a9d2e13a807240125e9e0057e6304cd64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= hush
PKG_VERSION:= 1.32.0
PKG_RELEASE:= 1
PKG_HASH:= c35d87f1d04b2b153d33c275c2632e40d388a88f19a9e71727e0bbbff51fe689
PKG_DESCR:= hush standalone shell
PKG_SECTION:= base/shells
PKG_URL:= http://www.busybox.net/
PKG_SITES:= https://www.busybox.net/downloads/
WRKDIST= $(WRKDIR)/busybox-$(PKG_VERSION)
DISTFILES:= busybox-${PKG_VERSION}.tar.bz2
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,HUSH,hush,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
BB_MAKE_FLAGS:= V=1 \
ARCH="${ADK_TARGET_ARCH}" \
IPKG_ARCH="${ADK_TARGET_CPU_ARCH}" \
HOSTCC="${CC_FOR_BUILD}" \
HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
SKIP_STRIP=y
do-configure:
$(CP) ./files/config $(WRKBUILD)/.config
do-build:
PATH='$(HOST_PATH)' $(MAKE) $(BB_MAKE_FLAGS) -C $(WRKBUILD) busybox
do-install:
$(INSTALL_DIR) $(IDIR_HUSH)/bin
$(CP) $(WRKBUILD)/busybox $(IDIR_HUSH)/bin/hush
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|