summaryrefslogtreecommitdiff
path: root/mk/defaults
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-01 16:14:17 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-01 16:14:17 +0000
commit29777c8ec515d539bd0c24665aebd511ea61d8c3 (patch)
tree44d3459b2e1906ba1125bf7205d3acc89f835103 /mk/defaults
parent13157ce5e2f70c31da7dc1f66e22495eb7c54ccc (diff)
downloadpkgsrc-29777c8ec515d539bd0c24665aebd511ea61d8c3.tar.gz
Begin adding some of the basic, non-intrusive pieces of the
cross-compile support. - NATIVE_MACHINE_GNU_ARCH, NATIVE_LOWER_ARCH, NATIVE_MACHINE_ARCH, NATIVE_MACHINE_PLATFORM and NATIVE_MACHINE_GNU_PLATFORM work like the counterpars without NATIVE_ prefix. Expansion of NATIVE_LOWER_ARCH and NATIVE_MACHINE_ARCH is enforced early, so that MACHINE_ARCH can be overriden in mk.conf to specify the target architecture. - Provide a default of NO for USE_CROSS_COMPILE. This will be the main switch to activate cross-compiling and adding it now makes it possible to merge more of the patches for specific packages. - Set --build and --host when cross-compiling, the former using the just added variable NATIVE_MACHINE_GNU_PLATFORM. Supported-by: Google SoC 2007 Looks good: jlam@
Diffstat (limited to 'mk/defaults')
-rw-r--r--mk/defaults/mk.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 2f15081f185..d4f9320e988 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.156 2007/07/14 17:17:45 adrianp Exp $
+# $NetBSD: mk.conf,v 1.157 2007/08/01 16:14:17 joerg Exp $
#
# This file provides default values for variables that may be overridden
@@ -1732,6 +1732,11 @@ UNPRIVILEGED?= NO
# Possible: YES, NO
# Default: NO
+USE_CROSS_COMPILE?= NO
+# Set this to YES to enable cross-compiling support.
+# Possible: YES, NO
+# Default: NO
+
USE_CRYPTO?= YES
# Used in speakfreely to choose support for encrypted connections.
# Possible: YES, or NO.