Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Use make -C instead of cd && make; this is done to prese...
details: https://anonhg.NetBSD.org/src/rev/71a1329cc3c5
branches: trunk
changeset: 821474:71a1329cc3c5
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 07 21:18:05 2017 +0000
description:
Use make -C instead of cd && make; this is done to preserve the logical path
for debugging info DW_AT_comp_dir
diffstat:
etc/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r b802f616042a -r 71a1329cc3c5 etc/Makefile
--- a/etc/Makefile Tue Feb 07 21:16:31 2017 +0000
+++ b/etc/Makefile Tue Feb 07 21:18:05 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.426 2015/12/20 02:35:34 christos Exp $
+# $NetBSD: Makefile,v 1.427 2017/02/07 21:18:05 christos Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -591,9 +591,10 @@
cd ${KERNCONFDIR} && ${TOOL_CONFIG} ${CONFIGOPTS} -s ${KERNSRCDIR} \
-U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile}
.if ${MKUPDATE} == "no"
- cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean
+ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} distclean
.endif
- cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE}
+ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} depend && \
+ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///}
sync
.endfor # ALL_KERNELS # }
.endif # KERNELS_DONE # }
Home |
Main Index |
Thread Index |
Old Index