mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-16 14:28:11 +00:00
kernel/linux: fix using custom tarball
The custom-tarball symlink was created in CT_SRC_DIR, when it should be created in CT_TARBALLS_DIR. Reported-by: Guylhem Aznar <crossgcc@guylhem.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
@ -35,7 +35,7 @@ do_kernel_get() {
|
|||||||
*) CT_Abort "Unknown extension for custom linux tarball '${CT_KERNEL_LINUX_CUSTOM_TARBALL}'";;
|
*) CT_Abort "Unknown extension for custom linux tarball '${CT_KERNEL_LINUX_CUSTOM_TARBALL}'";;
|
||||||
esac
|
esac
|
||||||
CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_TARBALL}" \
|
CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_TARBALL}" \
|
||||||
"${CT_SRC_DIR}/${custom_name}"
|
"${CT_TARBALLS_DIR}/${custom_name}"
|
||||||
else # Not a custom tarball
|
else # Not a custom tarball
|
||||||
case "${CT_KERNEL_VERSION}" in
|
case "${CT_KERNEL_VERSION}" in
|
||||||
2.6.*.*|3.*.*)
|
2.6.*.*|3.*.*)
|
||||||
|
Reference in New Issue
Block a user