3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
11 PKG_SOURCE_URL
:=http
://www.busybox.net
/downloads
12 PKG_MD5SUM
:=0b5d78072302fe687407956537bdb9e3
15 include $(TOPDIR
)/package
/rules.mk
17 define Package
/busybox
22 TITLE
:=Core utilities for embedded Linux
23 DESCRIPTION
:=The Swiss Army Knife of embedded Linux.
\\\
24 It slices
, it dices
, it makes Julian Fries.
25 URL
:=http
://busybox.net
/
26 CONFIG
:=menu
"Configuration" \\\
27 depends on PACKAGE_busybox
\\\
28 source
"package/busybox/config/Config.in" \\\
32 define Build
/Configure
33 $(SCRIPT_DIR
)/gen_busybox_config.pl
$(TOPDIR
)/.config
> $(PKG_BUILD_DIR
)/.config
34 yes
'' |
$(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" -C
$(PKG_BUILD_DIR
) oldconfig
37 define Package
/busybox
/install
38 $(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" PREFIX
="$(1)" \
39 EXTRA_CFLAGS
="$(TARGET_CFLAGS)" -C
$(PKG_BUILD_DIR
) install
42 $(eval
$(call BuildPackage
,busybox
))