All of lore.kernel.org
 help / color / mirror / Atom feed
* after modifying source code in work/, how to rebuild package?
@ 2011-12-16  7:55 Leon Woestenberg
  2011-12-16  8:11 ` Lauri Hintsala
  2011-12-16 17:37 ` Henning Heinold
  0 siblings, 2 replies; 6+ messages in thread
From: Leon Woestenberg @ 2011-12-16  7:55 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Hello all,


after modifying source code in the work directory, what is the set of
commands to rebuild the package (from the compile stage and further)?

Under classic OpenEmbedded, I removed the compile, install, package stages
stamp files and ran bitbake. However, shared staging "broke" that workflow.

Is there an equivalent approach with OpenEmbedded Core?  Possibly disabling
'sstage' on a per build, or per package basis?


Thanks,

Leon.

[-- Attachment #2: Type: text/html, Size: 515 bytes --]

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

* Re: after modifying source code in work/, how to rebuild package?
  2011-12-16  7:55 after modifying source code in work/, how to rebuild package? Leon Woestenberg
@ 2011-12-16  8:11 ` Lauri Hintsala
  2011-12-16  8:13   ` Lauri Hintsala
  2011-12-16 17:37 ` Henning Heinold
  1 sibling, 1 reply; 6+ messages in thread
From: Lauri Hintsala @ 2011-12-16  8:11 UTC (permalink / raw)
  To: openembedded-core

bitbake projectname -c cleanall
bitbake projectname

Cleanall command will clean the workdir and sstatefiles from sstate folder.

BR,
Lauri Hintsala


On 12/16/2011 09:55 AM, Leon Woestenberg wrote:
> Hello all,
>
>
> after modifying source code in the work directory, what is the set of
> commands to rebuild the package (from the compile stage and further)?
>
> Under classic OpenEmbedded, I removed the compile, install, package
> stages stamp files and ran bitbake. However, shared staging "broke" that
> workflow.
>
> Is there an equivalent approach with OpenEmbedded Core?  Possibly
> disabling 'sstage' on a per build, or per package basis?
>
>
> Thanks,
>
> Leon.
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: after modifying source code in work/, how to rebuild package?
  2011-12-16  8:11 ` Lauri Hintsala
@ 2011-12-16  8:13   ` Lauri Hintsala
  2011-12-16  8:14     ` Luo Zhenhua-B19537
  2011-12-16 22:54     ` Leon Woestenberg
  0 siblings, 2 replies; 6+ messages in thread
From: Lauri Hintsala @ 2011-12-16  8:13 UTC (permalink / raw)
  To: openembedded-core

Sorry, this workflow will clean all your changes. How about that:

bitbake projectname -c compile -f
bitbake projectname

Lauri

On 12/16/2011 10:11 AM, Lauri Hintsala wrote:
> bitbake projectname -c cleanall
> bitbake projectname
>
> Cleanall command will clean the workdir and sstatefiles from sstate folder.
>
> BR,
> Lauri Hintsala
>
>
> On 12/16/2011 09:55 AM, Leon Woestenberg wrote:
>> Hello all,
>>
>>
>> after modifying source code in the work directory, what is the set of
>> commands to rebuild the package (from the compile stage and further)?
>>
>> Under classic OpenEmbedded, I removed the compile, install, package
>> stages stamp files and ran bitbake. However, shared staging "broke" that
>> workflow.
>>
>> Is there an equivalent approach with OpenEmbedded Core? Possibly
>> disabling 'sstage' on a per build, or per package basis?
>>
>>
>> Thanks,
>>
>> Leon.
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: after modifying source code in work/, how to rebuild package?
  2011-12-16  8:13   ` Lauri Hintsala
@ 2011-12-16  8:14     ` Luo Zhenhua-B19537
  2011-12-16 22:54     ` Leon Woestenberg
  1 sibling, 0 replies; 6+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-16  8:14 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-
> core-bounces@lists.openembedded.org] On Behalf Of Lauri Hintsala
> Sent: Friday, December 16, 2011 4:14 PM
> To: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] after modifying source code in work/, how to rebuild
> package?
> 
> Sorry, this workflow will clean all your changes. How about that:
> 
> bitbake projectname -c compile -f
> bitbake projectname
[Luo Zhenhua-B19537] Those commands should work. 


Best Regards,

Zhenhua





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

* Re: after modifying source code in work/, how to rebuild package?
  2011-12-16  7:55 after modifying source code in work/, how to rebuild package? Leon Woestenberg
  2011-12-16  8:11 ` Lauri Hintsala
@ 2011-12-16 17:37 ` Henning Heinold
  1 sibling, 0 replies; 6+ messages in thread
From: Henning Heinold @ 2011-12-16 17:37 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Dec 16, 2011 at 08:55:05AM +0100, Leon Woestenberg wrote:
> Hello all,
> 
> 
> after modifying source code in the work directory, what is the set of
> commands to rebuild the package (from the compile stage and further)?
> 
> Under classic OpenEmbedded, I removed the compile, install, package stages
> stamp files and ran bitbake. However, shared staging "broke" that workflow.
> 
> Is there an equivalent approach with OpenEmbedded Core?  Possibly disabling
> 'sstage' on a per build, or per package basis?
> 
> 
> Thanks,
> 
> Leon.


try the devshell

bitbake -c devshell

and 

than tmp/run.do_compile

Bye Henning



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

* Re: after modifying source code in work/, how to rebuild package?
  2011-12-16  8:13   ` Lauri Hintsala
  2011-12-16  8:14     ` Luo Zhenhua-B19537
@ 2011-12-16 22:54     ` Leon Woestenberg
  1 sibling, 0 replies; 6+ messages in thread
From: Leon Woestenberg @ 2011-12-16 22:54 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

Lauri en Luo,

On Fri, Dec 16, 2011 at 9:13 AM, Lauri Hintsala <lauri.hintsala@bluegiga.com
> wrote:

> Sorry, this workflow will clean all your changes. How about that:
>
> bitbake projectname -c compile -f
> bitbake projectname
>
>
Thank you. This works.

Regards

Leon.

[-- Attachment #2: Type: text/html, Size: 580 bytes --]

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16  7:55 after modifying source code in work/, how to rebuild package? Leon Woestenberg
2011-12-16  8:11 ` Lauri Hintsala
2011-12-16  8:13   ` Lauri Hintsala
2011-12-16  8:14     ` Luo Zhenhua-B19537
2011-12-16 22:54     ` Leon Woestenberg
2011-12-16 17:37 ` Henning Heinold

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.