mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 03:06:42 +00:00
kernel/linux: remove legacy check
Now, we only support building with Linux >=2.6.27. Get rid of the code that depended on <2.6.18.
This commit is contained in:
parent
9e595444f4
commit
8577bc52c1
@ -48,11 +48,6 @@ do_kernel_install() {
|
||||
mkdir -p "${CT_BUILD_DIR}/build-kernel-headers"
|
||||
cd "${CT_BUILD_DIR}/build-kernel-headers"
|
||||
|
||||
# Only starting with 2.6.18 does headers_install is usable. We only
|
||||
# have 2.6 version available, so only test for sublevel.
|
||||
k_sublevel=$(awk '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile")
|
||||
[ ${k_sublevel} -ge 18 ] || CT_Abort "Kernel version >= 2.6.18 is needed to install kernel headers."
|
||||
|
||||
V_OPT="V=${CT_KERNEL_LINUX_VERBOSE_LEVEL}"
|
||||
|
||||
CT_DoLog EXTRA "Installing kernel headers"
|
||||
|
Loading…
Reference in New Issue
Block a user