diff options
Diffstat (limited to 'remote/setup_target')
| -rwxr-xr-x | remote/setup_target | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/remote/setup_target b/remote/setup_target index e004d8bd..c070f1fc 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -3,8 +3,6 @@ MODE_DIR="${ROOT_DIR}/remote" MODULES_DIR="${MODE_DIR}/modules" -KERNEL_DIR="${MODE_DIR}/builds/kernel" - # Keep track of processed modules PROCESSED_MODULES="" @@ -136,7 +134,7 @@ copy_files_with_deps () { generate_target() { initial_checks - copy_kernel + #copy_kernel TARGET=$1 && shift TARGET_DIR="${MODE_DIR}/targets/${TARGET}" @@ -215,8 +213,8 @@ process_module() { pinfo "## Building" [ -e "${MODULE_DIR}/.built" ] || { build && touch "${MODULE_DIR}/.built"; } # remove *.la files as they might confuse libtool/linker of other tool packages - find "${MODULE_BUILD_DIR}" -name '*.la' -exec rm -f {} \; - [ -d "$TARGET_BUILD_DIR" ] && TARGET_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') || TARGET_BUILD_SIZE=0 + [ -d "${MODULE_BUILD_DIR}" ] && find "${MODULE_BUILD_DIR}" -name '*.la' -exec rm -f {} \; + [ -d "${TARGET_BUILD_DIR}" ] && TARGET_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') || TARGET_BUILD_SIZE=0 pinfo "## Copying files with dependencies" copy_files_with_deps pinfo "## Copying static module files" |
