summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-03-01 06:10:16 +0000
committerimp <imp@FreeBSD.org>1999-03-01 06:10:16 +0000
commit03ea38a67334ea10fbde0ecb63df8140fca0fc6d (patch)
tree41aab9d775e0f89a7da0a9c6e380acd6ba2d2b64 /sys/i386
parent8787d798723e87cfc49acb28f2eba48bffb261c8 (diff)
downloadFreeBSD-src-03ea38a67334ea10fbde0ecb63df8140fca0fc6d.zip
FreeBSD-src-03ea38a67334ea10fbde0ecb63df8140fca0fc6d.tar.gz
Don't define MACHINE, MACHINE_ARCH, _MACHINE or _MACHINE_ARCH if
already defined. This allows for cross building to work because we need to lie to make to tell it to use the target names rather than the host names. This should have no effect on either architecture. I've confirmed that the intel build by make buildworld's for the past 3 months.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/param.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index 41034f2..4f0cbc0 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)param.h 5.8 (Berkeley) 6/28/91
- * $Id: param.h,v 1.48 1999/01/07 06:35:18 peter Exp $
+ * $Id: param.h,v 1.49 1999/02/19 19:34:48 luoqi Exp $
*/
#ifndef _MACHINE_PARAM_H_
@@ -43,10 +43,18 @@
/*
* Machine dependent constants for Intel 386.
*/
+#ifndef _MACHINE
#define _MACHINE i386
+#endif
+#ifndef MACHINE
#define MACHINE "i386"
+#endif
+#ifndef _MACHINE_ARCH
#define _MACHINE_ARCH i386
+#endif
+#ifndef MACHINE_ARCH
#define MACHINE_ARCH "i386"
+#endif
#define MID_MACHINE MID_I386
/*
OpenPOWER on IntegriCloud