summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-03 20:12:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-03 20:12:52 +0200
commitc994348c75f154eecb5ff48392b40c45ec80de55 (patch)
tree33b17d7fd2e27565f7ec85d780896aecb8b05f70 /mk
parent1364c92fa9897626c520ab121ebc3e6d21e73745 (diff)
fix extraction problems
Diffstat (limited to 'mk')
-rw-r--r--mk/buildhlp.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 2cb4f1714..3c79fc1e8 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -47,7 +47,11 @@ ${WRKDIST}/.extract_done: ${_CHECKSUM_COOKIE}
ifeq (${_CHECKSUM_COOKIE},)
rm -rf ${WRKDIST} ${WRKSRC} ${WRKBUILD}
endif
+ifeq ($(EXTRACT_OVERRIDE),1)
+ ${MAKE} do-extract
+else
${EXTRACT_CMD}
+endif
@${MAKE} post-extract $(MAKE_TRACE)
touch $@