summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorMarcus Watts <mdw@cvs.openbsd.org>2002-07-14 09:20:25 +0000
committerMarcus Watts <mdw@cvs.openbsd.org>2002-07-14 09:20:25 +0000
commit7db947bec0fc3c6e9960a56a9c4c50e3d24486de (patch)
tree30fde68f80e943aac7b6e99783e1f859517cc409 /sys/compat
parente61ed68779f6778e947735947f2d0ef6a7e070a2 (diff)
More glue needed for cross-compilation
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/common/Makefile5
-rw-r--r--sys/compat/common/Makefile.inc3
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/compat/common/Makefile b/sys/compat/common/Makefile
index 8e203f71f40..a0b22f7f1fa 100644
--- a/sys/compat/common/Makefile
+++ b/sys/compat/common/Makefile
@@ -1,9 +1,12 @@
-# $OpenBSD: Makefile,v 1.11 2001/08/19 18:35:49 art Exp $
+# $OpenBSD: Makefile,v 1.12 2002/07/14 09:20:24 mdw Exp $
# $NetBSD: Makefile,v 1.8 1996/05/18 15:52:19 christos Exp $
LIB= compat
NOPIC=
+MACHINE= ${XMACHINE}
+MACHINE_ARCH= ${XMACHINE_ARCH}
+
.PATH: ${COMPATDIR}
SRCS= compat_exec.c compat_util.c compat_dir.c compat_vm.c kern_exit_43.c \
diff --git a/sys/compat/common/Makefile.inc b/sys/compat/common/Makefile.inc
index 7e559d9bca0..3918ba7871b 100644
--- a/sys/compat/common/Makefile.inc
+++ b/sys/compat/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.6 1997/05/30 09:40:57 niklas Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2002/07/14 09:20:24 mdw Exp $
# $NetBSD: Makefile.inc,v 1.5 1996/05/20 17:23:59 mrg Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@@ -14,6 +14,7 @@ COMPATMAKE= \
CC="${CC}" CFLAGS="${CFLAGS:S/-I./-I${PWD}\/./g}" \
LD="${LD}" AR="${AR}" RANLIB="${RANLIB}" LORDER="${LORDER}" \
NM="${NM}" \
+ XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}' \
CPPFLAGS="${CPPFLAGS:S/-I./-I${PWD}\/./g}" \
COMPATDIR="${COMPATDIR}"