Changeset View
Changeset View
Standalone View
Standalone View
lib/libcompiler_rt/Makefile.inc
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | |||||
SRCF+= stdatomic | SRCF+= stdatomic | ||||
CFLAGS+= -DEMIT_SYNC_ATOMICS | CFLAGS+= -DEMIT_SYNC_ATOMICS | ||||
.elif ${MACHINE_CPUARCH} == "mips" | .elif ${MACHINE_CPUARCH} == "mips" | ||||
.PATH: ${SRCTOP}/sys/mips/mips | .PATH: ${SRCTOP}/sys/mips/mips | ||||
SRCF+= stdatomic | SRCF+= stdatomic | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "powerpcspe" | |||||
jhibbits: We use the same MACHINE_CPUARCH for all powerpc targets | |||||
jhibbitsUnsubmitted Done Inline ActionsYou probably want MACHINE_ARCH. jhibbits: You probably want MACHINE_ARCH. | |||||
SRCS+= atomic.c | |||||
CFLAGS.atomic.c+= -Wno-atomic-alignment | |||||
.endif | |||||
.for file in ${SRCF} | .for file in ${SRCF} | ||||
.if ${MACHINE_ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \ | .if ${MACHINE_ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \ | ||||
&& exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) | && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) | ||||
SRCS+= ${file}vfp.S | SRCS+= ${file}vfp.S | ||||
. elif exists(${CRTSRC}/${CRTARCH}/${file}.S) | . elif exists(${CRTSRC}/${CRTARCH}/${file}.S) | ||||
SRCS+= ${file}.S | SRCS+= ${file}.S | ||||
. else | . else | ||||
SRCS+= ${file}.c | SRCS+= ${file}.c | ||||
Show All 28 Lines |
We use the same MACHINE_CPUARCH for all powerpc targets