use libsam3 git submodule

This commit is contained in:
sehraf 2020-11-27 20:07:51 +01:00
parent 9c71177d3b
commit 8a2efe3e58
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
3 changed files with 8 additions and 1 deletions

View file

@ -1029,7 +1029,10 @@ rs_sam3_libsam3 {
libsam3.CONFIG += target_predeps combine
libsam3.variable_out = PRE_TARGETDEPS
libsam3.commands = \
cd $${RS_SRC_PATH} && \
cd $${RS_SRC_PATH} && ( \
git submodule update --init supportlibs/libsam3 || \
true ) && \
mkdir -p $${UDP_DISCOVERY_BUILD_PATH} && \
cp -r $${LIBSAM3_SRC_PATH}/* $${LIBSAM3_BUILD_PATH} && \
cd $${LIBSAM3_BUILD_PATH} && \
$(MAKE) build