svn commit: r208537 - in head: share/mk tools/build/options

M. Warner Losh imp at bsdimp.com
Tue May 25 16:31:17 UTC 2010


In message: <201005251512.o4PFCLwl058548 at svn.freebsd.org>
            Rafal Jaworowski <raj at FreeBSD.org> writes:
: +# Enable FDT by default for selected platforms.
: +.if defined(TARGET_ARCH) && \
: +	(${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "powerpc")
: +# XXX this is temporarily disabled until all FDT support code is in place.
: +#_fdt=	FDT
: +_no_fdt= FDT
: +.else
: +_no_fdt= FDT
: +.endif

The tests here should be:

.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"

Never test against TARGET_* in our Makefile system (except that
binutils, gcc and gdb all use this for piecewise compile)...

Warner


More information about the svn-src-head mailing list