summaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/010-use_target_for_configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/010-use_target_for_configure.patch')
-rw-r--r--package/ppp/patches/010-use_target_for_configure.patch9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/ppp/patches/010-use_target_for_configure.patch b/package/ppp/patches/010-use_target_for_configure.patch
index e185be0be..aff0df67f 100644
--- a/package/ppp/patches/010-use_target_for_configure.patch
+++ b/package/ppp/patches/010-use_target_for_configure.patch
@@ -1,6 +1,11 @@
+configure: Allow overriding uname results
- Use values exported from $(TOPDIR)/rules.mk for determining
- the target system instead of the host configuration
+In a cross compile setting it makes no sense to rely on the "uname" values
+reported by the build host system. This patch allows overriding the
+"uname -r", "uname -s" and "uname -m" results with the "UNAME_R", "UNAME_S"
+and "UNAME_M" environment variables.
+
+Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
--- a/configure
+++ b/configure