Changeset View
Changeset View
Standalone View
Standalone View
gnu/usr.bin/cc/Makefile.inc
Show All 28 Lines | |||||
.if ${TARGET_CPUARCH} == "arm" | .if ${TARGET_CPUARCH} == "arm" | ||||
CFLAGS+= -DTARGET_ARM_EABI | CFLAGS+= -DTARGET_ARM_EABI | ||||
.endif | .endif | ||||
.if ${TARGET_ARCH:Marm*eb} != "" | .if ${TARGET_ARCH:Marm*eb} != "" | ||||
CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END | CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END | ||||
.endif | .endif | ||||
.if ${TARGET_ARCH} == "armv6" || ${TARGET_ARCH} == "armv6eb" | .if ${TARGET_ARCH:Marmv[67]*} != "" | ||||
CFLAGS += -DFREEBSD_ARCH_armv6 | CFLAGS += -DFREEBSD_ARCH_armv6 | ||||
mmel:
.if ${TARGET_ARCH} == "armv6"
CFLAGS += -DFREEBSD_ARCH_armv6
.endif
.if ${TARGET_ARCH} ==… | |||||
impAuthorUnsubmitted Not Done Inline ActionsGood point. However, as is going away soon so I haven't through too much about it... :) imp: Good point. However, as is going away soon so I haven't through too much about it... :)
| |||||
.endif | .endif | ||||
.if ${TARGET_CPUARCH} == "mips" | .if ${TARGET_CPUARCH} == "mips" | ||||
.if ${TARGET_ARCH:Mmips*el*} != "" | .if ${TARGET_ARCH:Mmips*el*} != "" | ||||
CFLAGS += -DTARGET_ENDIAN_DEFAULT=0 | CFLAGS += -DTARGET_ENDIAN_DEFAULT=0 | ||||
.endif | .endif | ||||
.if ${TARGET_ARCH:Mmips64*} != "" | .if ${TARGET_ARCH:Mmips64*} != "" | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |
.if ${TARGET_ARCH} == "armv6"
CFLAGS += -DFREEBSD_ARCH_armv6
.endif
.if ${TARGET_ARCH} == "armv7"
CFLAGS += -DFREEBSD_ARCH_armv7
.endif