On Wed, 2020-06-10 at 11:48 +0200, Ricardo Ribalda Delgado wrote:
> Hi Richard
> On Tue, Jun 9, 2020 at 11:46 AM Richard Purdie
> <[email protected]> wrote:
> > On Mon, 2020-06-08 at 16:40 +0200, Ricardo Ribalda wrote:
> > > Hi
> > > 
> > > I am trying to use devtool in combination with multiconfig for
> > > the
> > > first time, so probably I am doing something wrong.
> > > 
> > > I have created a very simple multiconfig
> > > 
> > > cat build/conf/multiconfig/arm.conf
> > > MACHINE = "qemuarm"
> > > 
> > > And then I want to modify bash:
> > > devtool modify multiconfig:arm:bash
> > > 
> > > If then I try to run:
> > > devtool build multiconfig:arm:bash
> > > NOTE: Starting bitbake server...
> > > ERROR: No recipe named 'multiconfig:arm:bash' in your workspace
> > > 
> > > So I run:
> > > devtool build bash
> > > 
> > > But that builds for x86 instead of for arm...
> > > 
> > > Simply patching check_workspace_recipe does not do the trick:
> > > @@ -145,6 +145,8 @@ def check_workspace_recipe(workspace, pn,
> > > checksrc=True, bbclassextend=False):
> > >      is present.
> > >      """
> > > 
> > > +    pn = pn.split(":")[-1]
> > > +
> > >      workspacepn = pn
> > > 
> > >      for recipe, value in workspace.items():
> > > 
> > > 
> > > Any idea or documentation to follow?
> > 
> > I think this is something which hasn't been tested before. Its a
> > bug
> > but nobody has probably tested or fixed devtool to work with
> > multiconfig.
> 
> I have opened a bug on bugzilla, with a horrible patch that kind of
> fixes it...
> Lets see how it evolves.

That patches in master-next from Joshua fix up the bitbake side of the
APIs to support multiconfig so I'm hoping that brings us a lot
closer...

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139395): 
https://lists.openembedded.org/g/openembedded-core/message/139395
Mute This Topic: https://lists.openembedded.org/mt/74753055/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to