summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-21 23:14:50 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-21 23:14:50 +0000
commit57ef49951c6d4c7d8a9fd028c4899bb1ae0b246b (patch)
treebff234b883eeecb45f71267856defb0347bd11d7
parent2fc344764c7e52fb36e1f4a21f2637b54febfe4f (diff)
downloadpkgsrc-57ef49951c6d4c7d8a9fd028c4899bb1ae0b246b.tar.gz
Just add the content of the tech-pkg mail to the tree until Someone (TM)
can integrate this into the pkgsrc guide or a better place.
-rw-r--r--doc/HOWTO-crosscompile-xorg28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/HOWTO-crosscompile-xorg b/doc/HOWTO-crosscompile-xorg
new file mode 100644
index 00000000000..30677e1f2f4
--- /dev/null
+++ b/doc/HOWTO-crosscompile-xorg
@@ -0,0 +1,28 @@
+$NetBSD: HOWTO-crosscompile-xorg,v 1.1 2007/12/21 23:14:50 joerg Exp $
+
+How to cross-compile modular Xorg on NetBSD
+-------------------------------------------
+
+(a) You have to have modular Xorg and the build tools used by it
+installed in /usr/pkg (or whatever prefix you want to use for the
+cross-compiled packages).
+
+(b) You have run buil.sh release for the desired platform. Remember
+where you wrote the tools to and where the destdir is.
+
+(c) You have to add the following options to your mk.conf:
+USE_DESTDIR= full
+DEPENDS_TARGET= package-install
+
+X11_TYPE = modular
+
+CROSS_DESTDIR= /where/ever/above/destdir/is
+TOOLDIR= /where/ever/above/tools/are
+USE_CROSS_COMPILE= yes
+
+The first two activate DESTDIR support, which is required for the
+cross-compile infrastructure. The third option tells it to use modular
+Xorg. oThe other three options specify the correct path names and
+activate cross compiling.
+
+(c) Just run make package e.g. in meta-pkgs/modular-xorg-apps now.