From 40fbbbad2afb2d6723f91e0cf574a77e7ae2e9f5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Oct 2004 18:00:34 +0000 Subject: add support for using busybox snapshot --- package/busybox/Config.in | 8 ++++++++ package/busybox/busybox.mk | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'package/busybox') 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 -- cgit v1.2.3