[OE-core] [PATCH] Add source package to ${PACKAGES}

Joshua Watt jpewhacker at gmail.com
Tue Mar 5 14:24:31 UTC 2019


On Tue, 2019-03-05 at 11:19 +0000, Burton, Ross wrote:
> On Tue, 5 Mar 2019 at 02:46, Joshua Watt <jpewhacker at gmail.com>
> wrote:
> > +ALLOW_EMPTY_${PN}-src = "1"
> 
> Is that what we want?  Empty PN-src packages for packages which have
> no source code, or when source splitting is disabled?

I found this while attempting to "targeted" debugging where I only put
the -dbg packages for the things I actually wanted to debug on the root
file system (as opposed to using the "dbg-pkgs src-pkgs"
IMAGE_FEATURES), i.e. IMAGE_INSTALL += "foo-dbg"

The problem I encountered was that I couldn't do the same thing with
the source packages (i.e. IMAGE_INSTALL += "foo-src") because they
don't exist at parsing time.


> 
> Ross
-- 
Joshua Watt <JPEWhacker at gmail.com>



More information about the Openembedded-core mailing list