Module Name: src Committed By: christos Date: Tue Feb 7 21:18:05 UTC 2017
Modified Files: src/etc: Makefile Log Message: Use make -C instead of cd && make; this is done to preserve the logical path for debugging info DW_AT_comp_dir To generate a diff of this commit: cvs rdiff -u -r1.426 -r1.427 src/etc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/Makefile diff -u src/etc/Makefile:1.426 src/etc/Makefile:1.427 --- src/etc/Makefile:1.426 Sat Dec 19 21:35:34 2015 +++ src/etc/Makefile Tue Feb 7 16:18:05 2017 @@ -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 @@ kern-${configfile}: .PHONY .MAKE 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 # }