diff options
| author | Jonathan Bauer | 2013-04-24 17:15:47 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-04-24 17:15:47 +0200 |
| commit | a0bd2b22b8db8e5d16333852467d07a1cf2f8c82 (patch) | |
| tree | 102178175cf80c255c5875f294d02d672106ecd6 /remote/setup_target | |
| parent | gitignore kernel build stuff (diff) | |
| download | tm-scripts-a0bd2b22b8db8e5d16333852467d07a1cf2f8c82.tar.gz tm-scripts-a0bd2b22b8db8e5d16333852467d07a1cf2f8c82.tar.xz tm-scripts-a0bd2b22b8db8e5d16333852467d07a1cf2f8c82.zip | |
compile kernel on the reference system with our config requirements
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" |
