aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/kernel_linux.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-07 15:57:02 +0000
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-07 15:57:02 +0000
commit64d804c4f65b4257b1507491cdc9a103c38999d4 (patch)
tree8856e2712d13682baec119c2e4f148ad92db06ea /scripts/build/kernel_linux.sh
parent58b4c6d0a44d57b15d7857ecb27711a2224949e9 (diff)
downloadcrosstool-ng-64d804c4f65b4257b1507491cdc9a103c38999d4.tar.gz
crosstool-ng-64d804c4f65b4257b1507491cdc9a103c38999d4.tar.bz2
crosstool-ng-64d804c4f65b4257b1507491cdc9a103c38999d4.zip
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.
Diffstat (limited to 'scripts/build/kernel_linux.sh')
-rw-r--r--scripts/build/kernel_linux.sh8
1 files changed, 6 insertions, 2 deletions
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