diff options
author | Jonathan Bauer | 2020-04-15 11:07:18 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-04-15 11:07:18 +0200 |
commit | d1922445cc96c4560dc97fb4275c40c904a8e6f4 (patch) | |
tree | 372d43b94291c5aaaafea5ff53140112c785379a /core/bin | |
parent | Merge branch 'master' into installer (diff) | |
parent | [nvidia_libs] make whiteout list optional (diff) | |
download | mltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.tar.gz mltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.tar.xz mltk-d1922445cc96c4560dc97fb4275c40c904a8e6f4.zip |
Merge branch 'master' into installer
Diffstat (limited to 'core/bin')
-rwxr-xr-x | core/bin/setup_target | 7 |
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 |