Sorry, my bad. :( There seems an evaluation order problem around ${SYSTEM_DEP} ... it is added to `netbsd' as a dependency much earlier than `sys/conf/Makefile.kern.inc' is included. I'll simply redo by adding "netbsd: netbsd.ldscript" in `sys/conf/Makefile.kern.inc' instead of relying on ${SYSTEM_DEP}.
On Tue, Aug 25, 2015 at 3:02 AM, Christos Zoulas <chris...@netbsd.org> wrote: > Module Name: src > Committed By: christos > Date: Mon Aug 24 18:02:55 UTC 2015 > > Modified Files: > src/sys/conf: Makefile.kern.inc > > Log Message: > Fix the build: provide compatibility with ports that define KERNLDSCRIPT to > a file? > > > To generate a diff of this commit: > cvs rdiff -u -r1.188 -r1.189 src/sys/conf/Makefile.kern.inc > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >