summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorSimon Rettberg2018-05-04 12:49:15 +0200
committerSimon Rettberg2018-05-04 12:49:15 +0200
commit6416559eb8dadc6aeb88be05e3568a1796fef918 (patch)
tree9eb98259bc6d308df2a06e0fb27dd52e4d219de3 /core/bin
parentKernel config: Want AMD VEGA support (diff)
downloadmltk-6416559eb8dadc6aeb88be05e3568a1796fef918.tar.gz
mltk-6416559eb8dadc6aeb88be05e3568a1796fef918.tar.xz
mltk-6416559eb8dadc6aeb88be05e3568a1796fef918.zip
setup_target: get_link_chain for REQUIRED_SYSTEM_FILES
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index cdaedff4..fbe04f92 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -606,7 +606,13 @@ copy_static_data() {
# Copies files with their absolute paths in $REQUIRED_SYSTEM_FILES to $TARGET_BUILD_DIR
copy_system_files() {
- [ ! -z "$REQUIRED_SYSTEM_FILES" ] && tarcopy "$REQUIRED_SYSTEM_FILES" "$TARGET_BUILD_DIR"
+ [ -z "$REQUIRED_SYSTEM_FILES" ] && return
+ local file list
+ list=
+ for file in $REQUIRED_SYSTEM_FILES; do
+ list+=" $(get_link_chain "$file")"
+ done
+ tarcopy "$list" "$TARGET_BUILD_DIR"
}
# Tries to calculate the size of modules - doesn't seem to work all the time