Patchwork patch to kernel.sh

login
register
mail settings
Submitter Bernd Becker
Date Oct. 20, 2012, 9 a.m.
Message ID <50826835.9010509@gmx.net>
Download mbox | patch
Permalink /patch/192910/
State Not Applicable
Headers show

Comments

Bernd Becker - Oct. 20, 2012, 9 a.m.
Hi,
a small bug in the current linux.sh script prevented me from building
with crosstool.


Bernd

--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - Oct. 20, 2012, 1:59 p.m.
Bernd, All,

On Saturday 20 October 2012 Bernd Becker wrote:
> a small bug in the current linux.sh script prevented me from building
> with crosstool.
> 
> diff -r 37831a33e07e scripts/build/kernel/linux.sh
> --- a/scripts/build/kernel/linux.sh     Tue Oct 16 20:57:44 2012 +0200
> +++ b/scripts/build/kernel/linux.sh     Sat Oct 20 10:57:53 2012 +0200
> @@ -60,7 +60,7 @@
>  # Extract kernel
>  do_kernel_extract() {
>      # If using a custom headers tree, nothing to do
> -    if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" = "y" ]
> +    if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" = "y" ]; then
>          return 0
>      fi

This has already been fixed a few days ago: ;-)
    http://crosstool-ng.org/hg/crosstool-ng/rev/f4a0fc3d0aad

Regards,
Yann E. MORIN.

Patch

diff -r 37831a33e07e scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh     Tue Oct 16 20:57:44 2012 +0200
+++ b/scripts/build/kernel/linux.sh     Sat Oct 20 10:57:53 2012 +0200
@@ -60,7 +60,7 @@ 
 # Extract kernel
 do_kernel_extract() {
     # If using a custom headers tree, nothing to do
-    if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" = "y" ]
+    if [ "${CT_KERNEL_LINUX_USE_CUSTOM_HEADERS}" = "y" ]; then
         return 0
     fi