Date: Tue, 25 May 2010 10:25:22 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: raj@FreeBSD.org Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r208537 - in head: share/mk tools/build/options Message-ID: <20100525.102522.782174629775191929.imp@bsdimp.com> In-Reply-To: <201005251512.o4PFCLwl058548@svn.freebsd.org> References: <201005251512.o4PFCLwl058548@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <201005251512.o4PFCLwl058548@svn.freebsd.org>
Rafal Jaworowski <raj@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100525.102522.782174629775191929.imp>
