This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: custom kernel issue


Guylhem, All,

On Tuesday 16 August 2011 21:32:57 Guylhem Aznar wrote:
> I'm using a tarball of the specific version running on some embedded
> linux hardware ; this is set up in the menus and everything, but the
> build fails with the latest version pulled from mercurial
> 
> In build.log :
> 
> [INFO ]  Retrieving needed toolchain components' tarballs
> [DEBUG]    ==> Executing: 'ln' '-sf'
> '/Volumes/Crosstools/Fritzbox.src/GPL-release_kernel.tar.gz'
> '/Volumes/Crosstools/crosstool-ng/.build/src/linux-custom.tar.gz'
> (...)
> [INFO ]  Extracting and patching toolchain components
> [WARN ]    'linux-custom' not found in
> '/Volumes/Crosstools/crosstool-ng/.build/tarballs'

Ah, thanks for spotting this. Care to test the attached patch (you have to
start from a clean dir, though), please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -35,7 +35,7 @@
             *)  CT_Abort "Unknown extension for custom linux tarball '${CT_KERNEL_LINUX_CUSTOM_TARBALL}'";;
         esac
         CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_TARBALL}"  \
-                                  "${CT_SRC_DIR}/${custom_name}"
+                                  "${CT_TARBALLS_DIR}/${custom_name}"
     else # Not a custom tarball
         case "${CT_KERNEL_VERSION}" in
             2.6.*.*|3.*.*)

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]