summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2012-06-21 16:24:36 +0200
committerJohann Latocha2012-06-21 16:24:36 +0200
commit18cf0a67a154d51357671fc0b226569d1d97a560 (patch)
tree344e4afab9542bfc84713028649c40d8113960fc
parentcommit suggested changes from #860 (diff)
downloadbuildroot-18cf0a67a154d51357671fc0b226569d1d97a560.tar.gz
buildroot-18cf0a67a154d51357671fc0b226569d1d97a560.tar.xz
buildroot-18cf0a67a154d51357671fc0b226569d1d97a560.zip
add support for openslx busybox variant
-rw-r--r--package/busybox/Config.in6
-rw-r--r--package/busybox/busybox.mk10
2 files changed, 13 insertions, 3 deletions
diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index a07864474..2e7807c04 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -13,7 +13,7 @@ if BR2_PACKAGE_BUSYBOX
choice
prompt "BusyBox Version"
- default BR2_BUSYBOX_VERSION_1_20_X
+ default BR2_PACKAGE_BUSYBOX_OPENSLX
help
Select the version of BusyBox you wish to use.
@@ -30,6 +30,9 @@ choice
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
bool "daily snapshot"
+ config BR2_PACKAGE_BUSYBOX_OPENSLX
+ bool "openslx snapshot"
+
endchoice
config BR2_BUSYBOX_VERSION
@@ -40,6 +43,7 @@ config BR2_BUSYBOX_VERSION
config BR2_PACKAGE_BUSYBOX_CONFIG
string "BusyBox configuration file to use?"
+ default ".config" if BR2_PACKAGE_BUSYBOX_OPENSLX
default "package/busybox/busybox-1.20.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
default "package/busybox/busybox-1.18.x.config" if BR2_BUSYBOX_VERSION_1_18_X
default "package/busybox/busybox-1.19.x.config" if BR2_BUSYBOX_VERSION_1_19_X
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 1d988f838..f4773b3f2 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -4,14 +4,20 @@
#
#############################################################
-ifeq ($(BR2_PACKAGE_BUSYBOX_SNAPSHOT),y)
+
+ifeq ($(BR2_PACKAGE_BUSYBOX_OPENSLX),y)
+BUSYBOX_VERSION = HEAD
+BUSYBOX_SITE = http://git.openslx.org/openslx/tools/busybox.git/snapshot
+BUSYBOX_SOURCE = $(BUSYBOX_VERSION).tar.gz
+else ifeq ($(BR2_PACKAGE_BUSYBOX_SNAPSHOT),y)
BUSYBOX_VERSION = snapshot
BUSYBOX_SITE = http://www.busybox.net/downloads/snapshots
+BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2
else
BUSYBOX_VERSION = $(call qstrip,$(BR2_BUSYBOX_VERSION))
BUSYBOX_SITE = http://www.busybox.net/downloads
-endif
BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2
+endif
BUSYBOX_BUILD_CONFIG = $(BUSYBOX_DIR)/.config
# Allows the build system to tweak CFLAGS
BUSYBOX_MAKE_ENV = $(TARGET_MAKE_ENV) CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_HEADERS_DIR)/include"