mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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.
This commit is contained in:
parent
040dd7cfac
commit
1684ea5706
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44364
@ -1,4 +1,4 @@
|
|||||||
/* $Id: param.h,v 1.7 1998/09/09 01:21:25 jdp Exp $ */
|
/* $Id: param.h,v 1.8 1999/02/19 19:34:47 luoqi Exp $ */
|
||||||
/* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */
|
/* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -46,10 +46,18 @@
|
|||||||
/*
|
/*
|
||||||
* Machine dependent constants for the Alpha.
|
* Machine dependent constants for the Alpha.
|
||||||
*/
|
*/
|
||||||
|
#ifndef _MACHINE
|
||||||
#define _MACHINE alpha
|
#define _MACHINE alpha
|
||||||
|
#endif
|
||||||
|
#ifndef MACHINE
|
||||||
#define MACHINE "alpha"
|
#define MACHINE "alpha"
|
||||||
|
#endif
|
||||||
|
#ifndef _MACHINE_ARCH
|
||||||
#define _MACHINE_ARCH alpha
|
#define _MACHINE_ARCH alpha
|
||||||
|
#endif
|
||||||
|
#ifndef MACHINE_ARCH
|
||||||
#define MACHINE_ARCH "alpha"
|
#define MACHINE_ARCH "alpha"
|
||||||
|
#endif
|
||||||
#define MID_MACHINE MID_ALPHA
|
#define MID_MACHINE MID_ALPHA
|
||||||
|
|
||||||
#include <machine/alpha_cpu.h>
|
#include <machine/alpha_cpu.h>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)param.h 5.8 (Berkeley) 6/28/91
|
* 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_
|
#ifndef _MACHINE_PARAM_H_
|
||||||
@ -43,10 +43,18 @@
|
|||||||
/*
|
/*
|
||||||
* Machine dependent constants for Intel 386.
|
* Machine dependent constants for Intel 386.
|
||||||
*/
|
*/
|
||||||
|
#ifndef _MACHINE
|
||||||
#define _MACHINE i386
|
#define _MACHINE i386
|
||||||
|
#endif
|
||||||
|
#ifndef MACHINE
|
||||||
#define MACHINE "i386"
|
#define MACHINE "i386"
|
||||||
|
#endif
|
||||||
|
#ifndef _MACHINE_ARCH
|
||||||
#define _MACHINE_ARCH i386
|
#define _MACHINE_ARCH i386
|
||||||
|
#endif
|
||||||
|
#ifndef MACHINE_ARCH
|
||||||
#define MACHINE_ARCH "i386"
|
#define MACHINE_ARCH "i386"
|
||||||
|
#endif
|
||||||
#define MID_MACHINE MID_I386
|
#define MID_MACHINE MID_I386
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user