Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Fix for systems that override SYSTEM_LD_TAIL



details:   https://anonhg.NetBSD.org/src/rev/a7a9d7a2d28a
branches:  trunk
changeset: 359445:a7a9d7a2d28a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 06 17:05:32 2022 +0000

description:
Fix for systems that override SYSTEM_LD_TAIL

diffstat:

 sys/conf/Makefile.kern.inc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 24f13ac05e75 -r a7a9d7a2d28a sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Jan 06 15:08:56 2022 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Jan 06 17:05:32 2022 +0000
@@ -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 @@
 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 && \



Home | Main Index | Thread Index | Old Index