From 64d804c4f65b4257b1507491cdc9a103c38999d4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 7 May 2007 15:57:02 +0000 Subject: Fix glibc and uClibc downloading and extracting. Although we no longer need the kernel config file, we now need to specify the kernel source directory when installing headers. Re-order components downloading to match build order. Fix the saveSample.sh script in case the referenced files are the same as the destination files. --- scripts/build/kernel_linux.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts/build/kernel_linux.sh') diff --git a/scripts/build/kernel_linux.sh b/scripts/build/kernel_linux.sh index 985cd86b..617740be 100644 --- a/scripts/build/kernel_linux.sh +++ b/scripts/build/kernel_linux.sh @@ -102,13 +102,17 @@ do_kernel_install() { esac CT_DoLog EXTRA "Installing kernel headers" - make ARCH=${CT_KERNEL_ARCH} \ + make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \ + O="`pwd`" \ + ARCH=${CT_KERNEL_ARCH} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ headers_install 2>&1 |CT_DoLog DEBUG CT_DoLog EXTRA "Checking installed headers" - make ARCH=${CT_KERNEL_ARCH} \ + make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \ + O="`pwd`" \ + ARCH=${CT_KERNEL_ARCH} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ headers_check 2>&1 |CT_DoLog DEBUG -- cgit v1.2.3