add support for using busybox snapshot

This commit is contained in:
Mike Frysinger 2004-10-09 18:00:34 +00:00
parent 0b63725463
commit 40fbbbad2a
2 changed files with 13 additions and 4 deletions

View File

@ -9,3 +9,11 @@ config BR2_PACKAGE_BUSYBOX
Most people will answer Y.
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
bool "Use the daily snapshot of busybox?"
depends BR2_PACKAGE_BUSYBOX
default y
help
Use the latest busybox CVS snapshot instead of release.
For fun, you should say Y.

View File

@ -4,14 +4,15 @@
#
#############################################################
ifneq ($(strip $(USE_BUSYBOX_SNAPSHOT)),)
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
# Be aware that this changes daily....
BUSYBOX_DIR:=$(BUILD_DIR)/busybox
BUSYBOX_SOURCE:=busybox-$(strip $(USE_BUSYBOX_SNAPSHOT)).tar.bz2
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
else
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-1.00-rc2
BUSYBOX_SOURCE:=busybox-1.00-rc2.tar.bz2
BUSYBOX_VER:=1.00-rc3
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER)
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads
endif
BUSYBOX_UNZIP=bzcat