aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-10 16:48:02 +0000
committerRoy Marples <roy@marples.name>2008-01-10 16:48:02 +0000
commit023270f76aca2a6bbf1ad1521b77259c68134587 (patch)
tree74787b8439a46aafa509fe629883bba1a3ac1857 /mk
parent2857fb49d1b19b1677c58c2a34910699cfe5ebbb (diff)
Don't go into SUBOS if same as OS.
Diffstat (limited to 'mk')
-rw-r--r--mk/subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/subdir.mk b/mk/subdir.mk
index 97502353..d3074ca1 100644
--- a/mk/subdir.mk
+++ b/mk/subdir.mk
@@ -19,7 +19,7 @@ _SUBDIR = @${_+_}for x in ${SUBDIR}; do \
DIRPRFX=${DIRPRFX}$$x.${OS}/ || exit $$?; \
cd ..; \
fi; \
- if test -d $$x.${SUBOS}; then \
+ if test "${SUBOS}" != "${OS}" && test -d $$x.${SUBOS}; then \
${ECHODIR} "===> ${DIRPRFX}$$x.${SUBOS} (${@:realinstall=install})"; \
cd $$x.${SUBOS}; \
${MAKE} ${@:realinstall=install} \