Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot & GIT branch
@ 2011-12-22 11:06 Janne Hämeenaho
  2011-12-22 11:19 ` Thomas De Schampheleire
  0 siblings, 1 reply; 4+ messages in thread
From: Janne Hämeenaho @ 2011-12-22 11:06 UTC (permalink / raw)
  To: buildroot


Hi,Thanks for a great SW! Buildroot is an achievement. I'm a new users and I've got a problem: I need to use my own branch of Linux kernel GIT repository which is on my server. Let's call it my_branch. How do I config Buildroot to pull that branch? Buildroot successfully uses master branch. Thanks in advance,JanneH
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111222/9129bc6a/attachment.html>

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

* [Buildroot] Buildroot & GIT branch
  2011-12-22 11:06 [Buildroot] Buildroot & GIT branch Janne Hämeenaho
@ 2011-12-22 11:19 ` Thomas De Schampheleire
  2011-12-22 11:32   ` Thomas Petazzoni
       [not found]   ` <DUB105-W15E9847F168C91032A9C6BCDAA0@phx.gbl>
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas De Schampheleire @ 2011-12-22 11:19 UTC (permalink / raw)
  To: buildroot

Hi Janne,

On Thu, Dec 22, 2011 at 12:06 PM, Janne H?meenaho
<jannehameenaho@hotmail.com> wrote:
> Hi,
>
> Thanks for a great SW! Buildroot is an achievement.
>
> I'm a new users and I've got a problem:
>
> I need to use my own branch of Linux kernel GIT repository which is on my
> server. Let's call it my_branch. How do I config Buildroot to pull that
> branch?
>
> Buildroot successfully uses master branch.

I think you should put the branch name as Linux kernel version in the
configuration.

Best regards,
Thomas

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

* [Buildroot] Buildroot & GIT branch
  2011-12-22 11:19 ` Thomas De Schampheleire
@ 2011-12-22 11:32   ` Thomas Petazzoni
       [not found]   ` <DUB105-W15E9847F168C91032A9C6BCDAA0@phx.gbl>
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-12-22 11:32 UTC (permalink / raw)
  To: buildroot

Le Thu, 22 Dec 2011 12:19:40 +0100,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :

> I think you should put the branch name as Linux kernel version in the
> configuration.

Right. Something like:

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://myserver.com"
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="mybranch"

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] Buildroot & GIT branch
       [not found]   ` <DUB105-W15E9847F168C91032A9C6BCDAA0@phx.gbl>
@ 2011-12-22 12:23     ` Thomas De Schampheleire
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas De Schampheleire @ 2011-12-22 12:23 UTC (permalink / raw)
  To: buildroot

On Thu, Dec 22, 2011 at 1:03 PM, Janne H?meenaho
<jannehameenaho@hotmail.com> wrote:
> Hi,
>
> Thanks for a quick answer. I'm still confused, through. Here's my Kernel
> config. Is it ok, if I need to have "my_branch"?
>
>
> #
> # Kernel
> #
> BR2_LINUX_KERNEL=y
> # BR2_LINUX_KERNEL_3_1 is not set
> # BR2_LINUX_KERNEL_SAME_AS_HEADERS is not set
> # BR2_LINUX_KERNEL_CUSTOM_VERSION="my_branch"
> # BR2_LINUX_KERNEL_CUSTOM_TARBALL is not set
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://git.my.lan/linux-stable"
> BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="my_branch"
> BR2_LINUX_KERNEL_VERSION="my_branch"
> BR2_LINUX_KERNEL_PATCH=""
> BR2_LINUX_KERNEL_USE_DEFCONFIG=y
> # BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG is not set
> BR2_LINUX_KERNEL_DEFCONFIG="my_branch"
> # BR2_LINUX_KERNEL_UIMAGE is not set
> BR2_LINUX_KERNEL_ZIMAGE=y
> # BR2_LINUX_KERNEL_VMLINUX is not set
> # BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM is not set
> # BR2_LINUX_KERNEL_INSTALL_TARGET is not set
>

Yes, this should be OK. Did you try it?

Best regards,
Thomas

>
>> Date: Thu, 22 Dec 2011 12:19:40 +0100
>> Subject: Re: [Buildroot] Buildroot & GIT branch
>> From: patrickdepinguin+buildroot at gmail.com
>> To: jannehameenaho at hotmail.com
>> CC: buildroot at uclibc.org
>
>>
>> Hi Janne,
>>
>> On Thu, Dec 22, 2011 at 12:06 PM, Janne H?meenaho
>> <jannehameenaho@hotmail.com> wrote:
>> > Hi,
>> >
>> > Thanks for a great SW! Buildroot is an achievement.
>> >
>> > I'm a new users and I've got a problem:
>> >
>> > I need to use my own branch of Linux kernel GIT repository which is on
>> > my
>> > server. Let's call it my_branch. How do I config Buildroot to pull that
>> > branch?
>> >
>> > Buildroot successfully uses master branch.
>>
>> I think you should put the branch name as Linux kernel version in the
>> configuration.
>>
>> Best regards,
>> Thomas

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

end of thread, other threads:[~2011-12-22 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 11:06 [Buildroot] Buildroot & GIT branch Janne Hämeenaho
2011-12-22 11:19 ` Thomas De Schampheleire
2011-12-22 11:32   ` Thomas Petazzoni
     [not found]   ` <DUB105-W15E9847F168C91032A9C6BCDAA0@phx.gbl>
2011-12-22 12:23     ` Thomas De Schampheleire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox