update submodules in top level build scripts
This commit is contained in:
+7
-5
@@ -732,12 +732,14 @@ print_enabled_libraries
|
||||
print_reconfigure_requested_libraries
|
||||
print_rebuild_requested_libraries
|
||||
|
||||
# UPDATING SUBMODULES
|
||||
echo -e "\nINFO: Updating submodules" 1>>${BASEDIR}/build.log 2>&1
|
||||
git submodule update --init
|
||||
echo -e "\nINFO: Updated submodules\n" 1>>${BASEDIR}/build.log 2>&1
|
||||
# SYNC EXTERNAL LIBRARIES
|
||||
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
|
||||
echo -e -n "\nsync external libraries: "
|
||||
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
|
||||
echo "ok"
|
||||
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
|
||||
|
||||
# CHECKING GPL LIBRARIES
|
||||
# CHECK GPL LIBRARIES
|
||||
for gpl_library in {18,19,20,21,22}; do
|
||||
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
|
||||
library_name=$(get_library_name ${gpl_library})
|
||||
|
||||
@@ -988,7 +988,14 @@ print_enabled_libraries
|
||||
print_reconfigure_requested_libraries
|
||||
print_rebuild_requested_libraries
|
||||
|
||||
# CHECKING GPL LIBRARIES
|
||||
# SYNC EXTERNAL LIBRARIES
|
||||
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
|
||||
echo -e -n "\nsync external libraries: "
|
||||
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
|
||||
echo "ok"
|
||||
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
|
||||
|
||||
# CHECK GPL LIBRARIES
|
||||
for gpl_library in {17..21}; do
|
||||
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
|
||||
library_name=$(get_library_name ${gpl_library})
|
||||
|
||||
@@ -35,3 +35,5 @@ rm -rf ../src/x264
|
||||
rm -rf ../src/x265
|
||||
rm -rf ../src/xvidcore
|
||||
rm -rf ../src/rubberband
|
||||
|
||||
git submodule deinit -f ..
|
||||
|
||||
@@ -824,7 +824,14 @@ print_enabled_libraries
|
||||
print_reconfigure_requested_libraries
|
||||
print_rebuild_requested_libraries
|
||||
|
||||
# CHECKING GPL LIBRARIES
|
||||
# SYNC EXTERNAL LIBRARIES
|
||||
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
|
||||
echo -e -n "\nsync external libraries: "
|
||||
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
|
||||
echo "ok"
|
||||
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
|
||||
|
||||
# CHECK GPL LIBRARIES
|
||||
for gpl_library in {17..21}; do
|
||||
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
|
||||
library_name=$(get_library_name ${gpl_library})
|
||||
|
||||
Reference in New Issue
Block a user