summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorJonathan Bauer2020-04-15 11:07:18 +0200
committerJonathan Bauer2020-04-15 11:07:18 +0200
commitd1922445cc96c4560dc97fb4275c40c904a8e6f4 (patch)
tree372d43b94291c5aaaafea5ff53140112c785379a /core/bin
parentMerge branch 'master' into installer (diff)
parent[nvidia_libs] make whiteout list optional (diff)
downloadmltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.tar.gz
mltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.tar.xz
mltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.zip
Merge branch 'master' into installer
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index 5eec94c4..3fc28197 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -233,6 +233,13 @@ copy_files_with_deps () {
# from REQUIRED_FILES - these are assumed to be simple files, so only follow symlinks
[ ! -z "${REQUIRED_FILES}" ] && pinfo "Gathering required files from config file..."
for ENTRY in ${REQUIRED_FILES}; do
+ if [ "${ENTRY:0:1}" = "@" ]; then
+ ENTRY="${ENTRY:1}"
+ if [ ! -e "${MODULE_BUILD_DIR}/${ENTRY}" ]; then
+ pinfo "Skipping missing optional file: ${MODULE_BUILD_DIR}/${ENTRY}"
+ continue
+ fi
+ fi
get_link_chain "${MODULE_BUILD_DIR}/${ENTRY}" "${MODULE_BUILD_DIR}" >> "${COPYFILES_LIST}"
done