From a0bd2b22b8db8e5d16333852467d07a1cf2f8c82 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 24 Apr 2013 17:15:47 +0200 Subject: compile kernel on the reference system with our config requirements --- remote/setup_target | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'remote/setup_target') 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" -- cgit v1.2.3-55-g7522 From 951f8aa1423a777901979009daad6ace1517b072 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 24 Apr 2013 18:06:23 +0200 Subject: small fix --- remote/setup_target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/setup_target') diff --git a/remote/setup_target b/remote/setup_target index 992390a9..85ab6fe8 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -241,7 +241,7 @@ local TOOL_STR="$TOOL_STR post_process_target:" #move systemd files from /lib to /etc/lib pinfo "move systemd files from /lib/systemd to /etc/systemd" -if [ -d "${TARGET_BUILD_DIR}/lib" ]; then +if [ -d "${TARGET_BUILD_DIR}/lib/systemd" ]; then cd "${TARGET_BUILD_DIR}/lib" tarcopy "systemd" "${TARGET_BUILD_DIR}/etc" cd - &> /dev/null -- cgit v1.2.3-55-g7522