Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/busybox

Buildroot jacmet at uclibc.org 1 participant 1 message Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2007-02-06 08:18:12 -0800 (Tue, 06 Feb 2007) New Revision: 17789

Log:
busybox 1.4.1 support

Added:
trunk/buildroot/package/busybox/busybox-1.4.1-binhex.patch trunk/buildroot/package/busybox/busybox-1.4.1.config

Modified:
trunk/buildroot/package/busybox/Config.in
trunk/buildroot/package/busybox/busybox.mk

Changeset:
Modified: trunk/buildroot/package/busybox/Config.in
===================================================================

buildroot/package/busybox/Config.in +4 -0
@@ -27,6 +27,9 @@
 	config BR2_BUSYBOX_VERSION_1_4_0
 		bool "BusyBox 1.4.0"
 
+	config BR2_BUSYBOX_VERSION_1_4_1
+		bool "BusyBox 1.4.1"
+
 	config BR2_PACKAGE_BUSYBOX_SNAPSHOT
 		bool "daily snapshot"
 
@@ -55,6 +58,7 @@
 	default "package/busybox/busybox-1.1.3.config" if BR2_BUSYBOX_VERSION_1_1_3
 	default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
 	default "package/busybox/busybox-1.4.0.config" if BR2_BUSYBOX_VERSION_1_4_0
+	default "package/busybox/busybox-1.4.1.config" if BR2_BUSYBOX_VERSION_1_4_1
 	help
 	  Some people may wish to use their own modified BusyBox configuration
 	  file, and will specify their config file location with this option.

Added: trunk/buildroot/package/busybox/busybox-1.4.1-binhex.patch
===================================================================

buildroot/package/busybox/busybox-1.4.1-binhex.patch +24 -0
@@ -0,0 +1,24 @@
+--- busybox-1.4.1/include/libbb.h	Wed Jan 24 22:34:48 2007
++++ busybox-1.4.1-binhex/include/libbb.h	Sat Jan 27 00:32:01 2007
+@@ -690,7 +690,7 @@
+ extern const char bb_msg_standard_output[];
+ 
+ extern const char bb_str_default[];
+-/* NB: (bb_hexdigits_upcase[i] | 0x10) -> lowercase hex digit */
++/* NB: (bb_hexdigits_upcase[i] | 0x20) -> lowercase hex digit */
+ extern const char bb_hexdigits_upcase[];
+ 
+ extern const char bb_path_mtab_file[];
+--- busybox-1.4.1/libbb/xfuncs.c	Wed Jan 24 22:49:25 2007
++++ busybox-1.4.1-binhex/libbb/xfuncs.c	Sat Jan 27 00:32:01 2007
+@@ -340,8 +340,8 @@
+ 	while (count) {
+ 		unsigned char c = *cp++;
+ 		/* put lowercase hex digits */
+-		*p++ = 0x10 | bb_hexdigits_upcase[c >> 4];
+-		*p++ = 0x10 | bb_hexdigits_upcase[c & 0xf];
++		*p++ = 0x20 | bb_hexdigits_upcase[c >> 4];
++		*p++ = 0x20 | bb_hexdigits_upcase[c & 0xf];
+ 		count--;
+ 	}
+ 	return p;

Added: trunk/buildroot/package/busybox/busybox-1.4.1.config
===================================================================

buildroot/package/busybox/busybox-1.4.1.config +675 -0

675 lines not on this page · raw message

Modified: trunk/buildroot/package/busybox/busybox.mk
===================================================================

buildroot/package/busybox/busybox.mk +12 -0
@@ -32,6 +32,13 @@
 BUSYBOX_SITE:=http://www.busybox.net/downloads
 endif
 
+ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_4_1)),y)
+BUSYBOX_VER:=1.4.1
+BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER)
+BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
+BUSYBOX_SITE:=http://www.busybox.net/downloads
+endif
+
 ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
 # Be aware that this changes daily....
 BUSYBOX_DIR:=$(BUILD_DIR)/busybox
@@ -83,6 +90,11 @@
 	$(SED) s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
 		$(BUSYBOX_DIR)/.config ;
 endif
+# either 1.4.0 or 1.4.1
+ifneq ($(strip $(BR2_BUSYBOX_VERSION_1_4_0))$(strip $(BR2_BUSYBOX_VERSION_1_4_1)),)
+	$(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
+		$(BUSYBOX_DIR)/.config ;
+endif
 ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
 	$(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
 		$(BUSYBOX_DIR)/.config ;