bsd.cpu.mk (133525) | bsd.cpu.mk (135678) |
---|---|
1# $FreeBSD: head/share/mk/bsd.cpu.mk 133525 2004-08-11 21:51:27Z obrien $ | 1# $FreeBSD: head/share/mk/bsd.cpu.mk 135678 2004-09-23 22:59:31Z cognet $ |
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. if ${MACHINE_ARCH} == "i386" 9_CPUCFLAGS = --- 94 unchanged lines hidden (view full) --- 104_CPUCFLAGS = -mcpu=ev56 105. elif ${CPUTYPE} == "ev5" 106_CPUCFLAGS = -mcpu=ev5 107. elif ${CPUTYPE} == "ev45" 108_CPUCFLAGS = -mcpu=ev45 109. elif ${CPUTYPE} == "ev4" 110_CPUCFLAGS = -mcpu=ev4 111. endif | 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. if ${MACHINE_ARCH} == "i386" 9_CPUCFLAGS = --- 94 unchanged lines hidden (view full) --- 104_CPUCFLAGS = -mcpu=ev56 105. elif ${CPUTYPE} == "ev5" 106_CPUCFLAGS = -mcpu=ev5 107. elif ${CPUTYPE} == "ev45" 108_CPUCFLAGS = -mcpu=ev45 109. elif ${CPUTYPE} == "ev4" 110_CPUCFLAGS = -mcpu=ev4 111. endif |
112. elif ${MACHINE_ARCH} == "arm" 113. if ${CPUTYPE} == "strongarm" 114_CPUCFLAGS = -mcpu=strongarm 115. elif ${CPUTYPE} == "xscale" 116#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself 117#_CPUCFLAGS = -mcpu=xscale 118_CPUCFLAGS = -D__XSCALE__ 119. endif |
|
112. endif 113 114# Set up the list of CPU features based on the CPU type. This is an 115# unordered list to make it easy for client makefiles to test for the 116# presence of a CPU feature. 117 118. if ${MACHINE_ARCH} == "i386" 119. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \ --- 63 unchanged lines hidden --- | 120. endif 121 122# Set up the list of CPU features based on the CPU type. This is an 123# unordered list to make it easy for client makefiles to test for the 124# presence of a CPU feature. 125 126. if ${MACHINE_ARCH} == "i386" 127. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \ --- 63 unchanged lines hidden --- |