summaryrefslogtreecommitdiff
path: root/mk/fetch.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-08-21 05:51:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-08-27 19:46:26 +0200
commit8645420963417ffc64d2e88f64935249e0db225c (patch)
tree1d35667cf063d8c370634da66047d01455e9d741 /mk/fetch.mk
parent68769b1a66f9df3387811c9de7aa146c2e17ff92 (diff)
add basic support for frosted operating system
https://github.com/insane-adding-machines/frosted Rework our architecture selection and os dependent logic a little bit to be cleaner. As only arm is supported, we only modify arm systems to comply with new changeset.
Diffstat (limited to 'mk/fetch.mk')
-rw-r--r--mk/fetch.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 636c93154..b6164c03c 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -87,6 +87,9 @@ $(1):
git clone --progress --depth 1 $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION} $(DL_TRACE); \
if [ $$$$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
fi; \
+ if [ ! -z "$${PKG_GIT_SUBMODULE}" ]; then \
+ (cd $${PKG_NAME}-$${PKG_VERSION}; git submodule update --init --recursive) $(DL_TRACE); \
+ fi; \
rm -rf $${PKG_NAME}-$${PKG_VERSION}/.git; \
tar cJf $${PKG_NAME}-$${PKG_VERSION}.tar.xz $${PKG_NAME}-$${PKG_VERSION}; \
touch $$$${filename}.nohash; \