aboutsummaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-01-18 22:24:23 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-01-18 22:24:23 +0000
commit665d6246c32e22994f885fbaac631d25ed7157de (patch)
tree6b527515537ffdf0ab4dd44871958c662c259a54 /rescue
parentb9d9e53eb6e12bb9f4fcc215fb94e5ee56b409c8 (diff)
downloadsrc-665d6246c32e22994f885fbaac631d25ed7157de.tar.gz
src-665d6246c32e22994f885fbaac631d25ed7157de.zip
Revision 1.7 of this file added information
about the location of each program's source. This update optimizes the build a bit by giving that information to crunchgen rather than asking crunchgen to do a directory search to locate sources. Approved by: gordon (Mentor)
Notes
Notes: svn path=/head/; revision=124695
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 48dd6dad523e..dbcd344ba7b0 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -235,9 +235,6 @@ exe: $(PROG)
$(CONF): Makefile
echo \# Auto-generated, do not edit >$(.TARGET)
-.for D in $(CRUNCH_SRCDIRS)
- echo srcdirs $(.CURDIR)/../../$(D) >>$(.TARGET)
-.endfor
.ifdef CRUNCH_BUILDOPTS
echo buildopts $(CRUNCH_BUILDOPTS) >>$(.TARGET)
.endif
@@ -249,6 +246,8 @@ $(CONF): Makefile
echo progs $(P) >>$(.TARGET)
.ifdef CRUNCH_SRCDIR_${P}
echo special $(P) srcdir $(CRUNCH_SRCDIR_${P}) >>$(.TARGET)
+.else
+ echo special $(P) srcdir $(.CURDIR)/../../$(D)/$(P) >>$(.TARGET)
.endif
.ifdef CRUNCH_BUILDOPTS_${P}
echo special $(P) buildopts $(CRUNCH_BUILDOPTS_${P}) >>$(.TARGET)