]> git.wh0rd.org - patches.git/blob - 950-unportability.patch
initial import
[patches.git] / 950-unportability.patch
1 $FreeWRT$
2
3 collect all unportability fixes for the build
4 system (not what ends up in the .ipk) here
5
6 --- busybox-1.4.2/scripts/trylink.orig Sun Mar 18 16:59:02 2007
7 +++ busybox-1.4.2/scripts/trylink Fri Jul 20 12:07:14 2007
8 @@ -1,4 +1,4 @@
9 -#!/bin/sh
10 +#!/usr/bin/env bash
11
12 debug=false
13
14 --- busybox-1.4.2/applets/Kbuild.orig Sun Mar 18 16:59:13 2007
15 +++ busybox-1.4.2/applets/Kbuild Fri Jul 20 12:08:48 2007
16 @@ -8,6 +8,7 @@ obj-y:=
17 obj-y += applets.o
18 obj-y += busybox.o
19
20 +ifneq (${HOST_OS_IS_NOT_LINUX},)
21 # Generated file needs additional love
22
23 applets/applets.o: include/usage_compressed.h
24 @@ -20,3 +21,4 @@ quiet_cmd_gen_usage_compressed = GEN
25 cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets
26 include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
27 $(call cmd,gen_usage_compressed)
28 +endif