On Wed, 2019-08-14 at 12:00 -0700, John Baldwin wrote: > On 8/14/19 11:06 AM, Kyle Evans wrote: > > LOCAL_MODULES="" does seem like a sensible default when we're not > > building a native kernel. > > Unfortunately kern.post.mk has no way of knowing that as MACHINE_* > are already set to the TARGET_* values by the time this target is > invoked. Also, the 'make tinderbox' use case is a legit use case > that some folks want (for CI, etc.) >
BUILDHOST_ARCH!= uname -p .if ${BUILDHOST_ARCH} != ${TARGET_ARCH} Unfortunately, I don't think it's as easy to compare the buildhost running version with the version of source being built, unless the build is started from the top level so that Makefile.inc1 sets the variables. -- Ian _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"