diff mbox

patch to kernel.sh

Message ID 50826835.9010509@gmx.net
State Not Applicable
Headers show

Commit Message

Bernd Becker Oct. 20, 2012, 9 a.m. UTC
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

Comments

Yann E. MORIN Oct. 20, 2012, 1:59 p.m. UTC | #1
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.
diff mbox

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