| 1 |
$FreeWRT$ |
| 2 |
|
| 3 |
collect all unportability fixes for the build |
| 4 |
system (not what ends up in the .ipk) here |
| 5 |
|
| 6 |
submitted as http://bugs.busybox.net/view.php?id=1438 |
| 7 |
|
| 8 |
--- busybox-1.4.2/applets/Kbuild.orig Sun Mar 18 16:59:13 2007 |
| 9 |
+++ busybox-1.4.2/applets/Kbuild Fri Jul 20 12:08:48 2007 |
| 10 |
@@ -8,6 +8,7 @@ obj-y:= |
| 11 |
obj-y += applets.o |
| 12 |
obj-y += busybox.o |
| 13 |
|
| 14 |
+ifneq (${CONFIG_FEATURE_COMPRESS_USAGE},) |
| 15 |
# Generated file needs additional love |
| 16 |
|
| 17 |
applets/applets.o: include/usage_compressed.h |
| 18 |
@@ -20,3 +21,4 @@ quiet_cmd_gen_usage_compressed = GEN |
| 19 |
cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets |
| 20 |
include/usage_compressed.h: $(srctree)/include/usage.h applets/usage |
| 21 |
$(call cmd,gen_usage_compressed) |
| 22 |
+endif |
| 23 |
--- busybox-1.4.2/scripts/trylink.orig 2007-07-31 20:46:00.000000000 +0200 |
| 24 |
+++ busybox-1.4.2/scripts/trylink 2007-07-31 20:46:15.000000000 +0200 |
| 25 |
@@ -2,7 +2,7 @@ |
| 26 |
|
| 27 |
debug=false |
| 28 |
|
| 29 |
-function try { |
| 30 |
+try() { |
| 31 |
added="$1" |
| 32 |
shift |
| 33 |
$debug && echo "Trying: $* $added" |