Makefile (238051) | Makefile (239272) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 238051 2012-07-03 06:41:00Z obrien $ | 2# $FreeBSD: head/Makefile 239272 2012-08-15 03:21:56Z gonzo $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# tinderbox - Same as universe, but presents a list of failed build 9# targets and exits with an error if there were any. 10# buildworld - Rebuild *everything*, including glue to help do --- 119 unchanged lines hidden (view full) --- 130 -m ${.CURDIR}/share/mk 131_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH} 132 133# Guess machine architecture from machine type, and vice versa. 134.if !defined(TARGET_ARCH) && defined(TARGET) 135_TARGET_ARCH= ${TARGET:S/pc98/i386/} 136.elif !defined(TARGET) && defined(TARGET_ARCH) && \ 137 ${TARGET_ARCH} != ${MACHINE_ARCH} | 3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# tinderbox - Same as universe, but presents a list of failed build 9# targets and exits with an error if there were any. 10# buildworld - Rebuild *everything*, including glue to help do --- 119 unchanged lines hidden (view full) --- 130 -m ${.CURDIR}/share/mk 131_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH} 132 133# Guess machine architecture from machine type, and vice versa. 134.if !defined(TARGET_ARCH) && defined(TARGET) 135_TARGET_ARCH= ${TARGET:S/pc98/i386/} 136.elif !defined(TARGET) && defined(TARGET_ARCH) && \ 137 ${TARGET_ARCH} != ${MACHINE_ARCH} |
138_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/} | 138_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/} |
139.endif 140# Legacy names, for another transition period mips:mips(n32|64)?eb -> mips:mips\1 141.if defined(TARGET) && defined(TARGET_ARCH) && \ 142 ${TARGET} == "mips" && ${TARGET_ARCH:Mmips*eb} 143_TARGET_ARCH= ${TARGET_ARCH:C/eb$//} 144.warning "TARGET_ARCH of ${TARGET_ARCH} is deprecated in favor of ${_TARGET_ARCH}" 145.endif 146.if defined(TARGET) && ${TARGET} == "mips" && defined(TARGET_BIG_ENDIAN) --- 177 unchanged lines hidden (view full) --- 324# universe 325# 326# Attempt to rebuild *everything* for all supported architectures, 327# with a reasonable chance of success, regardless of how old your 328# existing system is. 329# 330.if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets) 331TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64 | 139.endif 140# Legacy names, for another transition period mips:mips(n32|64)?eb -> mips:mips\1 141.if defined(TARGET) && defined(TARGET_ARCH) && \ 142 ${TARGET} == "mips" && ${TARGET_ARCH:Mmips*eb} 143_TARGET_ARCH= ${TARGET_ARCH:C/eb$//} 144.warning "TARGET_ARCH of ${TARGET_ARCH} is deprecated in favor of ${_TARGET_ARCH}" 145.endif 146.if defined(TARGET) && ${TARGET} == "mips" && defined(TARGET_BIG_ENDIAN) --- 177 unchanged lines hidden (view full) --- 324# universe 325# 326# Attempt to rebuild *everything* for all supported architectures, 327# with a reasonable chance of success, regardless of how old your 328# existing system is. 329# 330.if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets) 331TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64 |
332TARGET_ARCHES_arm?= arm armeb | 332TARGET_ARCHES_arm?= arm armeb armv6 armv6eb |
333TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 334TARGET_ARCHES_powerpc?= powerpc powerpc64 335TARGET_ARCHES_pc98?= i386 336.for target in ${TARGETS} 337TARGET_ARCHES_${target}?= ${target} 338.endfor 339 340.if defined(UNIVERSE_TARGET) --- 103 unchanged lines hidden --- | 333TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 334TARGET_ARCHES_powerpc?= powerpc powerpc64 335TARGET_ARCHES_pc98?= i386 336.for target in ${TARGETS} 337TARGET_ARCHES_${target}?= ${target} 338.endfor 339 340.if defined(UNIVERSE_TARGET) --- 103 unchanged lines hidden --- |