Message ID | 20221028081134.15749-1-peter.marko@siemens.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/2] cpputest: allow empty main package | expand |
On 28 Oct 2022, at 09:11, Peter Marko via lists.openembedded.org <peter.marko=siemens.com@lists.openembedded.org> wrote: > > iThe main package is empty so it was not possible to install > dev package to sdk as it depends on main package. > > Signed-off-by: Peter Marko <peter.marko@siemens.com> > --- > meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb > index 921143a74..52c01f44e 100644 > --- a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb > +++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb > @@ -18,4 +18,6 @@ EXTRA_OECMAKE = "-DLONGLONG=ON \ > -DEXTENSIONS=OFF \ > " > > +ALLOW_EMPTY:${PN} = "1" > + Better to stop the -dev package depending on the main package. You can set DEV_PKG_DEPENDENCY=“” to make that disappear. Ross
diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb index 921143a74..52c01f44e 100644 --- a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb +++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb @@ -18,4 +18,6 @@ EXTRA_OECMAKE = "-DLONGLONG=ON \ -DEXTENSIONS=OFF \ " +ALLOW_EMPTY:${PN} = "1" + FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*"
iThe main package is empty so it was not possible to install dev package to sdk as it depends on main package. Signed-off-by: Peter Marko <peter.marko@siemens.com> --- meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 2 ++ 1 file changed, 2 insertions(+)