svn commit: r326553 - head
Bryan Drewery
bdrewery at FreeBSD.org
Tue Dec 5 02:23:39 UTC 2017
Author: bdrewery
Date: Tue Dec 5 02:23:36 2017
New Revision: 326553
URL: https://svnweb.freebsd.org/changeset/base/326553
Log:
native-xtools: Fix build without META_MODE for GCC archs.
The initial kernel-toolchain is built with TARGET=MACHINE but
we want GCC to have files generated for TARGET=NXB_TARGET
instead later on. Just clean the files between building of
the toolchain and nxb binaries which will let it rebuild
when needed.
Reported by: sbruno
X-MFC-With: r325001
MFC after: 1 month
Sponsored by: Dell EMC
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Tue Dec 5 02:23:33 2017 (r326552)
+++ head/Makefile.inc1 Tue Dec 5 02:23:36 2017 (r326553)
@@ -2274,6 +2274,8 @@ native-xtools: .PHONY
# needed build tools are built.
${_+_}cd ${.CURDIR}; ${NXBTMAKE} _includes MK_CLANG=no MK_GCC=no
${_+_}cd ${.CURDIR}; ${NXBTMAKE} _libraries MK_CLANG=no MK_GCC=no
+ # Clean out improper TARGET=MACHINE files
+ ${_+_}cd ${.CURDIR}/gnu/usr.bin/cc/cc_tools; ${NXBTMAKE} cleandir
.if !defined(NO_OBJWALK)
${_+_}cd ${.CURDIR}; ${NXBMAKE} _obj
.endif
More information about the svn-src-all
mailing list