Deleted Added
full compact
Makefile (221216) Makefile (221869)
1#
1#
2# $FreeBSD: head/Makefile 221216 2011-04-29 18:27:50Z jhb $
2# $FreeBSD: head/Makefile 221869 2011-05-14 01:53:38Z attilio $
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

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

126MAKEPATH= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE}
127BINMAKE= \
128 `if [ -x ${MAKEPATH}/make ]; then echo ${MAKEPATH}/make; else echo ${MAKE}; fi` \
129 -m ${.CURDIR}/share/mk
130_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH}
131
132# Guess machine architecture from machine type, and vice versa.
133.if !defined(TARGET_ARCH) && defined(TARGET)
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

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

126MAKEPATH= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE}
127BINMAKE= \
128 `if [ -x ${MAKEPATH}/make ]; then echo ${MAKEPATH}/make; else echo ${MAKE}; fi` \
129 -m ${.CURDIR}/share/mk
130_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH}
131
132# Guess machine architecture from machine type, and vice versa.
133.if !defined(TARGET_ARCH) && defined(TARGET)
134_TARGET_ARCH= ${TARGET:S/pc98/i386/:S/sun4v/sparc64/:S/mips/mipsel/}
134_TARGET_ARCH= ${TARGET:S/pc98/i386/:S/mips/mipsel/}
135.elif !defined(TARGET) && defined(TARGET_ARCH) && \
136 ${TARGET_ARCH} != ${MACHINE_ARCH}
137_TARGET= ${TARGET_ARCH:C/mips.*e[lb]/mips/:C/armeb/arm/}
138.endif
139# Legacy names, for a transition period mips:mips -> mipsel:mips
140.if defined(TARGET) && defined(TARGET_ARCH) && \
141 ${TARGET_ARCH} == "mips" && ${TARGET} == "mips"
142.warning "TARGET_ARCH of mips is deprecated in favor of mipsel or mipseb"

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

318#
319# universe
320#
321# Attempt to rebuild *everything* for all supported architectures,
322# with a reasonable chance of success, regardless of how old your
323# existing system is.
324#
325.if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets)
135.elif !defined(TARGET) && defined(TARGET_ARCH) && \
136 ${TARGET_ARCH} != ${MACHINE_ARCH}
137_TARGET= ${TARGET_ARCH:C/mips.*e[lb]/mips/:C/armeb/arm/}
138.endif
139# Legacy names, for a transition period mips:mips -> mipsel:mips
140.if defined(TARGET) && defined(TARGET_ARCH) && \
141 ${TARGET_ARCH} == "mips" && ${TARGET} == "mips"
142.warning "TARGET_ARCH of mips is deprecated in favor of mipsel or mipseb"

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

318#
319# universe
320#
321# Attempt to rebuild *everything* for all supported architectures,
322# with a reasonable chance of success, regardless of how old your
323# existing system is.
324#
325.if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets)
326TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v
326TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64
327TARGET_ARCHES_arm?= arm armeb
328TARGET_ARCHES_mips?= mipsel mipseb mips64el mips64eb mipsn32eb
329TARGET_ARCHES_powerpc?= powerpc powerpc64
330TARGET_ARCHES_pc98?= i386
327TARGET_ARCHES_arm?= arm armeb
328TARGET_ARCHES_mips?= mipsel mipseb mips64el mips64eb mipsn32eb
329TARGET_ARCHES_powerpc?= powerpc powerpc64
330TARGET_ARCHES_pc98?= i386
331TARGET_ARCHES_sun4v?= sparc64
332.for target in ${TARGETS}
333TARGET_ARCHES_${target}?= ${target}
334.endfor
335
336.if defined(UNIVERSE_TARGET)
337MAKE_JUST_WORLDS= YES
338.else
339UNIVERSE_TARGET?= buildworld

--- 100 unchanged lines hidden ---
331.for target in ${TARGETS}
332TARGET_ARCHES_${target}?= ${target}
333.endfor
334
335.if defined(UNIVERSE_TARGET)
336MAKE_JUST_WORLDS= YES
337.else
338UNIVERSE_TARGET?= buildworld

--- 100 unchanged lines hidden ---