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
:=19a0b475169335f17e421cf644616fe7
15 include $(INCLUDE_DIR
)/package.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
/
27 menu
"Configuration" \\\
28 depends on PACKAGE_busybox
\\\
29 source
"$(SOURCE)/config/Config.in" \\\
33 define Build
/Configure
34 $(SCRIPT_DIR
)/gen_busybox_config.pl
$(TOPDIR
)/.config
> $(PKG_BUILD_DIR
)/.config
35 yes
'' |
$(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" -C
$(PKG_BUILD_DIR
) oldconfig
38 define Package
/busybox
/install
39 $(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" PREFIX
="$(1)" \
40 EXTRA_CFLAGS
="$(TARGET_CFLAGS)" -C
$(PKG_BUILD_DIR
) install
44 $(eval
$(call BuildPackage
,busybox
))