mac80211: fix compile on systems that do not have /bin/true
[openwrt.git] / package / ppp / patches / 010-use_target_for_configure.patch
1
2 Use values exported from $(TOPDIR)/rules.mk for determining
3 the target system instead of the host configuration
4
5 --- a/configure
6 +++ b/configure
7 @@ -8,9 +8,9 @@ SYSCONF=/etc
8 # if [ -d /NextApps ]; then
9 # system="NeXTStep"
10 # else
11 - system=`uname -s`
12 - release=`uname -r`
13 - arch=`uname -m`
14 + system=${UNAME_S:-`uname -s`}
15 + release=${UNAME_R:-`uname -r`}
16 + arch=${UNAME_M:-`uname -m`}
17 # fi
18 state="unknown"
19
This page took 0.039797 seconds and 5 git commands to generate.