disable dropbear zlib support and split off dropbearconvert to save flash space
[openwrt.git] / openwrt / package / netperf / patches / 01-netperf-2.3pl1-openwrt.patch
1 --- netperf-2.3pl1.orig/makefile 2004-09-21 23:33:40.000000000 +0200
2 +++ netperf-2.3pl1/makefile 2005-12-30 15:35:08.924238576 +0100
3 @@ -15,8 +15,7 @@
4 # for the rest of the world, it is probably better to put the binaries
5 # in /usr/local/netperf or /opt/netperf
6 #
7 -#NETPERF_HOME = /usr/local/netperf
8 -NETPERF_HOME = /opt/netperf
9 +NETPERF_HOME = $(TARGET_NETPERF_HOME)
10
11 # The compiler on your system might be somewhere else, and/or have
12 # a different name.
13 @@ -40,7 +39,7 @@
14 # You may safely ignore that warning.
15 #
16
17 -CC = cc
18 +CC = $(TARGET_CC)
19
20 # Adding flags to CFLAGS enables some non-mainline features. For
21 # more information, please consult the source code.
22 @@ -113,7 +112,7 @@
23 # netserver via the netperf command line with -T
24
25 LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
26 -CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
27 +CFLAGS = -D$(LOG_FILE) $(TARGET_CFLAGS)
28
29 # Some platforms, and some options, require additional libraries.
30 # you can add to the "LIBS =" line to accomplish this. if you find
31 @@ -136,7 +135,7 @@
32 # -lresolv - required for -DDO_DNS on RedHat 7.1
33 # -lsocket -lbind - required for Zeta OS
34
35 -LIBS= -lm
36 +LIBS= -lm $(TARGET_LIBS)
37
38 # ---------------------------------------------------------------
39 # it should not be the case that anything below this line needs to
This page took 0.045741 seconds and 5 git commands to generate.