summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote')
-rwxr-xr-xremote/setup_target5
1 files changed, 3 insertions, 2 deletions
diff --git a/remote/setup_target b/remote/setup_target
index bc269ca9..0d28db29 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -369,6 +369,9 @@ process_module() {
fi
fi
# Process module
+ pdebug "## Reading config of $MODULE"
+ read_config
+ # Prepare build directory
mkdir -p "${MODULE_BUILD_DIR}" || perror "Could not create build dir"
if [ -z "${REQUIRED_ORIGINAL_USR_SPLIT}" -o "x${REQUIRED_ORIGINAL_USR_SPLIT}" = "xno" ]; then
local DIR
@@ -377,8 +380,6 @@ process_module() {
[ -L "${MODULE_BUILD_DIR}/${DIR}" ] || ln -s "usr/${DIR}" "${MODULE_BUILD_DIR}/${DIR}" || perror "Could not symlink '${MODULE_BUILD_DIR}/${DIR}' to 'usr/${DIR}"
done
fi
- pdebug "## Reading config of $MODULE"
- read_config
# Check if this module has a dependency that wasn't built yet:
if [ ! -z "$REQUIRED_MODULES" ]; then
pdebug "$MODULE depends on ${REQUIRED_MODULES}...."