Using a local kernel tarball?
Hi guys,
It would appear I can use a local directory, repository or a custom tarball URL... but not a local tarball?
If my kernel src is in say buildroot/boards/company/product/kernel.tar.bz how do I tell Buildroot to use it?
I'm betting I've missed something obvious...
Thanks for your time,
-Bill
Hi Bill,
Quoted 10 lines · Bill Borton
Hi guys,
It would appear I can use a local directory, repository or a custom tarball URL... but not a local tarball?
If my kernel src is in say buildroot/boards/company/product/kernel.tar.bz how do I tell Buildroot to use it?
I'm betting I've missed something obvious...
Use file:// as URL prefix to point to a local file...
Best regards,
Thomas
Thank you sir.
That was actually one of the first things I tried:
"file://board/company/product/kernel.tar.bz" which doesn't work. I also tried ../ and ../../
With your suggestion I went back and tried again:
"file://../../../board/company/product/kernel.tar.bz" Does the trick...
I knew there must be a simple solution.
Thanks again,
-Bill
Quoted 18 lines · On Wed, 14 Jan 2015 22:15:02 +0100 Thomas De Schampheleire…
Hi Bill,
Quoted 10 lines · Bill Borton
Hi guys,
It would appear I can use a local directory, repository or a custom tarball URL... but not a local tarball?
If my kernel src is in say buildroot/boards/company/product/kernel.tar.bz how do I tell Buildroot to use it?
I'm betting I've missed something obvious...
Use file:// as URL prefix to point to a local file...
Best regards,
Thomas
Hi Bill,
Quoted 11 lines · Bill Borton
Thank you sir.
That was actually one of the first things I tried:
"file://board/company/product/kernel.tar.bz" which doesn't work. I also tried ../ and ../../With your suggestion I went back and tried again:
"file://../../../board/company/product/kernel.tar.bz" Does the trick...I knew there must be a simple solution.
You can do away with the relative paths using a make variable like TOPDIR:
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/board/company/product/kernel.tar.bz"
Best regards,
Thomas
Even better! Thank you again.
-Bill
Quoted 21 lines · On Fri, 16 Jan 2015 08:57:51 +0100 Thomas De Schampheleire…
Hi Bill,
Quoted 11 lines · Bill Borton
Thank you sir.
That was actually one of the first things I tried:
"file://board/company/product/kernel.tar.bz" which doesn't work. I also tried ../ and ../../With your suggestion I went back and tried again:
"file://../../../board/company/product/kernel.tar.bz" Does the trick...I knew there must be a simple solution.
You can do away with the relative paths using a make variable like TOPDIR:
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="file://$(TOPDIR)/board/company/product/kernel.tar.bz"
Best regards,
Thomas