summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-09 18:00:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-09 18:00:34 +0000
commit40fbbbad2afb2d6723f91e0cf574a77e7ae2e9f5 (patch)
tree3e1bf5e42d25e9bb915ec1cd4b17a7e33905d3cd
parent0b63725463a02bf90a56b1fa258aacbb7c207f07 (diff)
downloadbuildroot-novena-40fbbbad2afb2d6723f91e0cf574a77e7ae2e9f5.tar.gz
buildroot-novena-40fbbbad2afb2d6723f91e0cf574a77e7ae2e9f5.zip
add support for using busybox snapshot
-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