Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Do the chmod last so that the kernels get consisten...
details: https://anonhg.NetBSD.org/src/rev/93eae7a24dbc
branches: trunk
changeset: 933197:93eae7a24dbc
user: christos <christos%NetBSD.org@localhost>
date: Thu May 21 18:44:19 2020 +0000
description:
Do the chmod last so that the kernels get consistent permissions for MKREPRO
Reported by wiz@.
diffstat:
sys/conf/Makefile.kern.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 21bda4d546c9 -r 93eae7a24dbc sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Thu May 21 16:50:25 2020 +0000
+++ b/sys/conf/Makefile.kern.inc Thu May 21 18:44:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.269 2020/04/04 19:50:54 christos Exp $
+# $NetBSD: Makefile.kern.inc,v 1.270 2020/05/21 18:44:19 christos Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -233,12 +233,12 @@
LINKFLAGS_DEBUG?= -X
SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \
- ${SIZE} $@ && chmod 755 $@ && \
- ${SYSTEM_CTFMERGE}
+ ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@
SYSTEM_LD_TAIL_DEBUG?=&& \
echo mv -f $@ $@.gdb && mv -f $@ $@.gdb && \
echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb && \
- ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb
+ ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb && \
+ chmod 755 $@ $@.gdb
LINKFLAGS_NORMAL?= -S
STRIPFLAGS?= -g
Home |
Main Index |
Thread Index |
Old Index