ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/gnu/usr.bin/cc/Makefile.tgt
(Generate patch)

Comparing trunk/gnu/usr.bin/cc/Makefile.tgt (file contents):
Revision 10928 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10929 by laffer1, Fri Jun 15 00:31:31 2018 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.4 2012/07/08 03:52:17 laffer1 Exp $
2 < # $FreeBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.11 2007/05/19 04:25:56 kan Exp $
1 > # $MidnightBSD$
2 > # $FreeBSD: stable/10/gnu/usr.bin/cc/Makefile.tgt 239272 2012-08-15 03:21:56Z gonzo $
3  
4   # These assignments duplicate much of the functionality of
5   # MACHINE_CPUARCH, but there's no easy way to export make functions...
6  
7   .if defined(TARGET_ARCH)
8 < TARGET_CPUARCH=${TARGET_ARCH}
8 > TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/}
9   .else
10   TARGET_CPUARCH=${MACHINE_CPUARCH}
11   .endif
12   TARGET_ARCH?=   ${MACHINE_ARCH}
13 < GCC_CPU=${TARGET_CPUARCH:C/amd64/i386/:C/sparc64/sparc/}
13 > GCC_CPU=${TARGET_CPUARCH:C/amd64/i386/:C/powerpc/rs6000/:C/sparc64/sparc/}
14  
15 + .if ${TARGET_ARCH} == "ia64"
16 + TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD
17 + .endif
18   .if ${TARGET_ARCH} == "sparc64"
19   TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
20 + .endif
21 + .if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \
22 +        (${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el} == "")
23 + TARGET_BIG_ENDIAN=t
24 + .endif
25 + .if ${TARGET_ARCH} == "powerpc64"
26 + TARGET_CPU_DEFAULT= \"powerpc64\"
27   .endif

Comparing trunk/gnu/usr.bin/cc/Makefile.tgt (property svn:keywords):
Revision 10928 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10929 by laffer1, Fri Jun 15 00:31:31 2018 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines