bsd.cpu.mk (d60840138f6292c1ceeb177ebe797eca0b2749da) bsd.cpu.mk (ca7f4027f7bed0d40e6b98b16a4acd3045964ba1)
1# $FreeBSD$
2
3# Set default CPU compile flags and baseline CPUTYPE for each arch. The
4# compile flags must support the minimum CPU type for each architecture but
5# may tune support for more advanced processors.
6
7.if !defined(CPUTYPE) || empty(CPUTYPE)
8_CPUCFLAGS =

--- 108 unchanged lines hidden (view full) ---

117_CPUCFLAGS = -march=armv7 -DARM_ARCH_6=1 -mfpu=vfp
118. elif ${CPUTYPE:Marmv[4567]*} != ""
119# Handle all the armvX types that FreeBSD runs:
120# armv4, armv4t, armv5, armv5te, armv6, armv6t2, armv7, armv7-a, armv7ve
121# they require -march=. All the others require -mcpu=.
122_CPUCFLAGS = -march=${CPUTYPE}
123. else
124# Common values for FreeBSD
1# $FreeBSD$
2
3# Set default CPU compile flags and baseline CPUTYPE for each arch. The
4# compile flags must support the minimum CPU type for each architecture but
5# may tune support for more advanced processors.
6
7.if !defined(CPUTYPE) || empty(CPUTYPE)
8_CPUCFLAGS =

--- 108 unchanged lines hidden (view full) ---

117_CPUCFLAGS = -march=armv7 -DARM_ARCH_6=1 -mfpu=vfp
118. elif ${CPUTYPE:Marmv[4567]*} != ""
119# Handle all the armvX types that FreeBSD runs:
120# armv4, armv4t, armv5, armv5te, armv6, armv6t2, armv7, armv7-a, armv7ve
121# they require -march=. All the others require -mcpu=.
122_CPUCFLAGS = -march=${CPUTYPE}
123. else
124# Common values for FreeBSD
125# arm: (any arm v4 or v5 processor you are targetting)
125# arm: (any arm v4 or v5 processor you are targeting)
126# arm920t, arm926ej-s, marvell-pj4, fa526, fa626,
127# fa606te, fa626te, fa726te
126# arm920t, arm926ej-s, marvell-pj4, fa526, fa626,
127# fa606te, fa626te, fa726te
128# armv6: (any arm v7 or v8 processor you are targetting and the arm1176jzf-s)
128# armv6: (any arm v7 or v8 processor you are targeting and the arm1176jzf-s)
129# arm1176jzf-s, generic-armv7-a, cortex-a5, cortex-a7, cortex-a8,
130# cortex-a9, cortex-a12, cortex-a15, cortex-a17, cortex-a53, cortex-a57,
131# cortex-a72, exynos-m1
132_CPUCFLAGS = -mcpu=${CPUTYPE}
133. endif
134. elif ${MACHINE_ARCH} == "powerpc"
135. if ${CPUTYPE} == "e500"
136_CPUCFLAGS = -Wa,-me500 -msoft-float

--- 224 unchanged lines hidden ---
129# arm1176jzf-s, generic-armv7-a, cortex-a5, cortex-a7, cortex-a8,
130# cortex-a9, cortex-a12, cortex-a15, cortex-a17, cortex-a53, cortex-a57,
131# cortex-a72, exynos-m1
132_CPUCFLAGS = -mcpu=${CPUTYPE}
133. endif
134. elif ${MACHINE_ARCH} == "powerpc"
135. if ${CPUTYPE} == "e500"
136_CPUCFLAGS = -Wa,-me500 -msoft-float

--- 224 unchanged lines hidden ---