summaryrefslogtreecommitdiff
path: root/mk/emulator/emulator-vars.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-22 14:47:10 +0000
committerjlam <jlam@pkgsrc.org>2007-08-22 14:47:10 +0000
commit1ef9411f1f5ee4ad52cf1279baf5752e3cf3627a (patch)
treebef8564612cdf61458eaf391f424be8b2b78a7b6 /mk/emulator/emulator-vars.mk
parente825b83b6876780513e14d47a11bc628b7ab4e26 (diff)
downloadpkgsrc-1ef9411f1f5ee4ad52cf1279baf5752e3cf3627a.tar.gz
Reorganize some code so that including bsd.prefs.mk doesn't expose
so much of the emulator framework.
Diffstat (limited to 'mk/emulator/emulator-vars.mk')
-rw-r--r--mk/emulator/emulator-vars.mk32
1 files changed, 1 insertions, 31 deletions
diff --git a/mk/emulator/emulator-vars.mk b/mk/emulator/emulator-vars.mk
index 17594867e32..f799cfc3091 100644
--- a/mk/emulator/emulator-vars.mk
+++ b/mk/emulator/emulator-vars.mk
@@ -1,4 +1,4 @@
-# $NetBSD: emulator-vars.mk,v 1.5 2007/08/21 22:49:33 jlam Exp $
+# $NetBSD: emulator-vars.mk,v 1.6 2007/08/22 14:47:10 jlam Exp $
#
# This file is included by bsd.prefs.mk only if EMUL_PLATFORMS is defined
# and non-empty.
@@ -42,22 +42,6 @@
# package isn't supported on this machine, then its value is
# "none".
#
-# EMUL_DISTRO
-# The distribution of the emulated operating system being used,
-# e.g. native-linux, suse-10.0, etc. If the package isn't
-# supported on this machine, then its value is "none".
-#
-# EMULDIR
-# Convenience variable that expands to ${PREFIX}/${EMULSUBDIR}
-#
-# EMULSUBDIR
-# Path relative to ${PREFIX} where the files and directories
-# are located, e.g. emul/linux.
-#
-# OPSYS_EMULDIR
-# Path through which the platform expects to find a "chroot"
-# installation of the files and directories, e.g. /emul/linux.
-#
# _EMUL_OPSYS
# A table that maps ${OPSYS} to the operating system names
@@ -121,24 +105,10 @@ EMUL_PLATFORM?= ${_platform_}
.endfor
EMUL_PLATFORM?= none
-# _EMUL_RUN_LDCONFIG
-# This is YesNo variable that is modified by makefiles in the
-# emulator framework. This is used as the default value of
-# RUN_LDCONFIG by any package that uses the emulator framework.
-#
-# Default value: no
-#
-_EMUL_RUN_LDCONFIG= no
-
.if ${EMUL_PLATFORM} == "none"
EMUL_ARCH?= none
EMUL_OPSYS?= none
-EMUL_DISTRO?= none
-EMULSUBDIR?= # empty
-EMULDIR?= ${PREFIX}
-OPSYS_EMULDIR?= # empty
.else
EMUL_ARCH?= ${EMUL_PLATFORM:C/.*-//}
EMUL_OPSYS?= ${EMUL_PLATFORM:C/-.*//}
-. include "../../mk/emulator/${EMUL_OPSYS}.mk"
.endif