1 configure: Allow overriding uname results
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.
8 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
12 @@ -8,9 +8,9 @@ SYSCONF=/etc
13 # if [ -d /NextApps ]; then
19 + system=${UNAME_S:-`uname -s`}
20 + release=${UNAME_R:-`uname -r`}
21 + arch=${UNAME_M:-`uname -m`}