Module Name: src Committed By: christos Date: Thu Jan 6 17:05:33 UTC 2022
Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Fix for systems that override SYSTEM_LD_TAIL To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293 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.
Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.292 src/sys/conf/Makefile.kern.inc:1.293 --- src/sys/conf/Makefile.kern.inc:1.292 Tue Jan 4 14:52:02 2022 +++ src/sys/conf/Makefile.kern.inc Thu Jan 6 12:05:32 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.292 2022/01/04 19:52:02 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.293 2022/01/06 17:05:32 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -245,8 +245,8 @@ LINKFLAGS_DEBUG?= -X KERNEL_CONFIG?= ${KERNEL_BUILD:T} SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \ - ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ && \ - runit() { echo $$@; $$@; } + ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ +SYSTEM_LD_TAIL+= && runit() { echo $$@; $$@; } SYSTEM_LD_TAIL_DEBUG?=&& \ runit mv -f $@ $@.gdb && \