kernel: fq_codel: dont reinit flow state
[openwrt/staging/chunkeey.git] / package / ppp / patches / 010-use_target_for_configure.patch
1 configure: Allow overriding uname results
2
3 In a cross compile setting it makes no sense to rely on the "uname" values
4 reported by the build host system. This patch allows overriding the
5 "uname -r", "uname -s" and "uname -m" results with the "UNAME_R", "UNAME_S"
6 and "UNAME_M" environment variables.
7
8 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9
10 --- a/configure
11 +++ b/configure
12 @@ -8,9 +8,9 @@ SYSCONF=/etc
13 # if [ -d /NextApps ]; then
14 # system="NeXTStep"
15 # else
16 - system=`uname -s`
17 - release=`uname -r`
18 - arch=`uname -m`
19 + system=${UNAME_S:-`uname -s`}
20 + release=${UNAME_R:-`uname -r`}
21 + arch=${UNAME_M:-`uname -m`}
22 # fi
23 state="unknown"
24