diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-14 17:59:02 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-14 17:59:02 (GMT) |
commit | 59499a2cdadfbb28780eafca206f1b353c0cbd7c (patch) | |
tree | 5eb81e2ce29a1d9177378837754b8d7930166479 /config | |
parent | 47229f15af48b2cefc1a14ae9c22e3cfaf5b7d43 (diff) |
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" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel/linux.in | 9 | ||||
-rw-r--r-- | config/kernel/linux.in.2 | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/config/kernel/linux.in b/config/kernel/linux.in index 3f2d0cd..47e7bae 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 diff --git a/config/kernel/linux.in.2 b/config/kernel/linux.in.2 index b9eb595..8e93958 100644 --- a/config/kernel/linux.in.2 +++ b/config/kernel/linux.in.2 @@ -1,6 +1,6 @@ # Linux kernel options -if KERNEL_LINUX_INSTALL +if ! KERNEL_LINUX_USE_CUSTOM_HEADERS choice bool @@ -41,4 +41,4 @@ config KERNEL_LINUX_INSTALL_CHECK If you are in doubt that installed headers are buggy, say 'Y' here to have an extra check passed onto the headers. -endif # KERNEL_LINUX_INSTALL +endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS |