All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Using a local kernel tarball?
@ 2015-01-13 19:19 Bill Borton
  2015-01-14 21:15 ` Thomas De Schampheleire
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Borton @ 2015-01-13 19:19 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Using a local kernel tarball?
  2015-01-13 19:19 [Buildroot] Using a local kernel tarball? Bill Borton
@ 2015-01-14 21:15 ` Thomas De Schampheleire
  2015-01-15 15:19   ` Bill Borton
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas De Schampheleire @ 2015-01-14 21:15 UTC (permalink / raw)
  To: buildroot

Hi Bill,

On January 13, 2015 8:19:25 PM CET, Bill Borton <security@conwin.com> wrote:
>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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Using a local kernel tarball?
  2015-01-14 21:15 ` Thomas De Schampheleire
@ 2015-01-15 15:19   ` Bill Borton
  2015-01-16  7:57     ` Thomas De Schampheleire
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Borton @ 2015-01-15 15:19 UTC (permalink / raw)
  To: buildroot

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


On Wed, 14 Jan 2015 22:15:02 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:
> Hi Bill,
> 
> On January 13, 2015 8:19:25 PM CET, Bill Borton <security@conwin.com> wrote:
> >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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Using a local kernel tarball?
  2015-01-15 15:19   ` Bill Borton
@ 2015-01-16  7:57     ` Thomas De Schampheleire
  2015-01-16 16:29       ` Bill Borton
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas De Schampheleire @ 2015-01-16  7:57 UTC (permalink / raw)
  To: buildroot

Hi Bill,

On Thu, Jan 15, 2015 at 4:19 PM, Bill Borton <security@conwin.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Using a local kernel tarball?
  2015-01-16  7:57     ` Thomas De Schampheleire
@ 2015-01-16 16:29       ` Bill Borton
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Borton @ 2015-01-16 16:29 UTC (permalink / raw)
  To: buildroot

Even better!  Thank you again.

-Bill


On Fri, 16 Jan 2015 08:57:51 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:
> Hi Bill,
> 
> On Thu, Jan 15, 2015 at 4:19 PM, Bill Borton <security@conwin.com> wrote:
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-16 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13 19:19 [Buildroot] Using a local kernel tarball? Bill Borton
2015-01-14 21:15 ` Thomas De Schampheleire
2015-01-15 15:19   ` Bill Borton
2015-01-16  7:57     ` Thomas De Schampheleire
2015-01-16 16:29       ` Bill Borton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.