summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-02-16 01:13:30 +0000
committersjg <sjg@FreeBSD.org>2013-02-16 01:13:30 +0000
commitf3309ae7170469adc9fc62d83199c7f481347fb3 (patch)
tree009b7cf09b0e3beefa328ee33add1224887b45b7 /share
parentbeec12d219f2cd2e8d5dfb480c786270890d52c7 (diff)
downloadFreeBSD-src-f3309ae7170469adc9fc62d83199c7f481347fb3.zip
FreeBSD-src-f3309ae7170469adc9fc62d83199c7f481347fb3.tar.gz
hook stage_* to all: only as needed
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 0f1de88..bdc5310 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -436,7 +436,11 @@ stage_libs stage_files stage_as:
.else
.if !empty(_LIBS) && !defined(INTERNALLIB)
stage_libs: ${_LIBS}
-all: stage_libs
+.for t in stage_libs stage_files stage_as
+.if target($t)
+all: $t
+.endif
+.endfor
.endif
.if !empty(INCS) || !empty(INCSGROUPS)
prebuild: buildincludes
OpenPOWER on IntegriCloud