From 59499a2cdadfbb28780eafca206f1b353c0cbd7c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 14 Aug 2011 19:59:02 +0200 Subject: kernel/linux: simplify custom tarball handling Simplify the way the custom tarball is handled: - fake version="custom" - at download, simply link the custom tarball to: "linux-custom.${custom_extension}" - at extract, the above allows to simply extract "linux-${LINUX_VERSION}" where LINUX_VERISON is set to the fake version="custom" Not that much convoluted, in fact... :-/ Signed-off-by: "Yann E. MORIN" --- config/kernel/linux.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'config/kernel/linux.in') diff --git a/config/kernel/linux.in b/config/kernel/linux.in index 3f2d0cdf..47e7baea 100644 --- a/config/kernel/linux.in +++ b/config/kernel/linux.in @@ -18,11 +18,7 @@ config KERNEL_LINUX_USE_CUSTOM_HEADERS If you want to use your own full kernel tree, then you want to say 'N' here, and select KERNEL_LINUX_CUSTOM, in the versions list, below. -config KERNEL_LINUX_INSTALL - bool - default y if ! KERNEL_LINUX_USE_CUSTOM_HEADERS - -if KERNEL_LINUX_INSTALL +if ! KERNEL_LINUX_USE_CUSTOM_HEADERS choice bool @@ -161,8 +157,9 @@ config KERNEL_VERSION default "2.6.32.44" if KERNEL_V_2_6_32_44 default "2.6.31.14" if KERNEL_V_2_6_31_14 default "2.6.27.59" if KERNEL_V_2_6_27_59 + default "custom" if KERNEL_LINUX_CUSTOM -endif # KERNEL_LINUX_INSTALL +endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS if KERNEL_LINUX_USE_CUSTOM_HEADERS -- cgit v1.2.3