From 7253d0ec0343e2857fb5b6de038d25b4dd8e762d Mon Sep 17 00:00:00 2001 From: yamt Date: Tue, 7 Aug 2007 12:44:39 +0000 Subject: [PATCH] use a pre-generated list of files instead of running find(1) again and again. PR/34551. --- tools/Makefile.disklabel | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/Makefile.disklabel b/tools/Makefile.disklabel index d9b3574624e5..756ff3db60d8 100644 --- a/tools/Makefile.disklabel +++ b/tools/Makefile.disklabel @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.disklabel,v 1.10 2007/02/07 17:49:23 cbiere Exp $ +# $NetBSD: Makefile.disklabel,v 1.11 2007/08/07 12:44:39 yamt Exp $ _ARCHDIR= ${.CURDIR}/../../sys/arch _INCDIR= ${.CURDIR}/../../include @@ -7,8 +7,7 @@ _UFSDIR= ${.CURDIR}/../../sys/ufs _SUBDIR!= cd ${_ARCHDIR} && ${MAKE} -V SUBDIR _UFS_INCS!= cd ${_UFSDIR} && find ffs ufs -name '*.h' -_ARCH_INCS!= cd ${_ARCHDIR} && find . -name disklabel.h -o \ - -name elf_machdep.h +_ARCH_INCS!= sed -e 's/^\#.*//' ${.CURDIR}/../headerlist _ARCH_INCS+= ews4800mips/include/pdinfo.h ews4800mips/include/vtoc.h