mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
Rename the custom header option.
/trunk/scripts/build/kernel/linux.sh | 12 6 6 0 ++++++------ /trunk/config/kernel/linux.in | 4 2 2 0 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)
This commit is contained in:
parent
ea604716d9
commit
b6b7925fcb
@ -284,14 +284,14 @@ config KERNEL_LINUX_VERBOSE_LEVEL
|
||||
|
||||
endif
|
||||
|
||||
config KERNEL_LINUX_USE_CUSTOM_DIR
|
||||
config KERNEL_LINUX_USE_CUSTOM_HEADERS
|
||||
bool
|
||||
prompt "Use custom headers"
|
||||
help
|
||||
If you have some kernel headers lying around, you can enter the path
|
||||
below.
|
||||
|
||||
if KERNEL_LINUX_USE_CUSTOM_DIR
|
||||
if KERNEL_LINUX_USE_CUSTOM_HEADERS
|
||||
|
||||
config KERNEL_LINUX_CUSTOM_IS_TARBALL
|
||||
bool
|
||||
|
@ -9,7 +9,7 @@ CT_DoKernelTupleValues() {
|
||||
|
||||
# Download the kernel
|
||||
do_kernel_get() {
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_DIR}" != "y" ]; then
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" != "y" ]; then
|
||||
CT_GetFile "linux-${CT_KERNEL_VERSION}" \
|
||||
{ftp,http}://ftp.{de.,eu.,}kernel.org/pub/linux/kernel/v2.{6{,/testing},4,2}
|
||||
fi
|
||||
@ -18,7 +18,7 @@ do_kernel_get() {
|
||||
|
||||
# Extract kernel
|
||||
do_kernel_extract() {
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_DIR}" != "y" ]; then
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" != "y" ]; then
|
||||
CT_Extract "linux-${CT_KERNEL_VERSION}"
|
||||
CT_Patch "linux-${CT_KERNEL_VERSION}"
|
||||
fi
|
||||
@ -29,8 +29,8 @@ do_kernel_extract() {
|
||||
do_kernel_headers() {
|
||||
CT_DoStep INFO "Installing kernel headers"
|
||||
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_DIR}" = "y" ]; then
|
||||
do_kernel_preinstalled
|
||||
if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" = "y" ]; then
|
||||
do_kernel_custom
|
||||
else
|
||||
do_kernel_install
|
||||
fi
|
||||
@ -74,10 +74,10 @@ do_kernel_install() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Use preinstalled headers (most probably by using make headers_install in a
|
||||
# Use custom headers (most probably by using make headers_install in a
|
||||
# modified (read: customised) kernel tree, or using pre-2.6.18 headers, such
|
||||
# as 2.4). In this case, simply copy the headers in place
|
||||
do_kernel_preinstalled() {
|
||||
do_kernel_custom() {
|
||||
local tar_opt
|
||||
|
||||
CT_DoLog EXTRA "Installing custom kernel headers"
|
||||
|
Loading…
Reference in New Issue
Block a user