summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target8
1 files changed, 5 insertions, 3 deletions
diff --git a/remote/setup_target b/remote/setup_target
index c1a45787..e3273f4d 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -51,7 +51,8 @@ read_build () {
. "${BUILD_SCRIPT}" || perror "Sourcing '${BUILD_SCRIPT}' failed."
}
-copyfileswithdependencies () {
+
+copy_files_with_deps () {
[ ! -d $MODULE_BUILD_DIR ] && pinfo "No build directory found, skipping dependency copying" && return 0
cd $MODULE_BUILD_DIR
@@ -188,7 +189,6 @@ process_module() {
if [ ! -z "$REQUIRED_MODULES" ]; then
pinfo "$MODULE depends on ${REQUIRED_MODULES}...."
for DEP in $REQUIRED_MODULES; do
- #[[ "$DESIRED_MODULES" != *"!${DEP}!"* ]] && perror "$TOOL has dependency $DEP, but $DEP is not in current profile."
process_module "$DEP"
done
# Read old config again, as it got overwritten by the deps
@@ -207,7 +207,9 @@ process_module() {
# remove *.la files as they might confuse libtool/linker of other tool packages
find "${MODULE_DIR}/build" -name '*.la' -exec rm -f {} \;
pinfo "## Copying files with dependencies"
- copyfileswithdependencies
+ copy_files_with_deps
+ pinfo "## Copying static module files"
+ copy_static_data
pinfo "## Post copy"
post_copy