summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/busybox/Config.in8
-rw-r--r--package/busybox/busybox.mk9
2 files changed, 13 insertions, 4 deletions
diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index befe2b890..afa14fd41 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -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.
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 571a17f10..f985d6e91 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -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