[Bug 269366] installworld calls cc breaking nanobsd build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Feb 2023 03:29:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269366

--- Comment #3 from Eugene Grosbein <eugen@freebsd.org> ---
(In reply to Warner Losh from comment #1)

May I suggest to change default for NANO_OBJ to depend on NANO_LAYOUT? Add a
suffix .${NANO_LAYOUT} if NANO_LAYOUT not empty.

=: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}}
+: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT:+.${NANO_LAYOUT}}

So first change to NANO_LAYOUT would not break build like in my case. And keep
already populated obj intact so it could be reused if needed with another
nanobsd config file.

-- 
You are receiving this mail because:
You are the assignee for the bug.