All of lore.kernel.org
 help / color / mirror / Atom feed
* -staticdev packages not in sdk
@ 2019-08-06 14:04 Koeller, Thomas
  2019-08-06 22:06 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Koeller, Thomas @ 2019-08-06 14:04 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hi,

browsing the list archives I came across an older thread that exactly describes the problem I am currently struggling with:

https://lists.yoctoproject.org/pipermail/yocto/2018-February/039950.html

In short, I have a recipe that produces only a couple of header files and a single static library, nothing to be installed on the target. So the base package is empty, which is why I have 'ALLOW_EMPTY_${PN} = "1"' in its recipe. In my image definition I have 'SDKIMAGE_FEATURES_append = " staticdev-pkgs"', so I expect the -staticdev package to be included when generating the SDK. This is, however, not the case. While a large number of -staticdev packages from different recipes is now included in the SDK, only the -dev package is included for my recipe, not the -staticdev (though the corresponding rpm is actually built and contains the library as expected, it just is not installed).

The archived mail thread referenced above suggests adding the base package ${PN} to IMAGE_INSTALL, which indeed does work for me. However, I do not understand why this is necessary at all, as my package is already referenced from another recipe by being listed in that recipe's DEPENDS variable, shouldn't that be enough? Also, the -dev package gets installed into the SDK even without such cruft. As far as I can see, identical logic is applied to both -dev and -staticdev packages, so what is the difference?

I also found a different workaround for the problem: listing the -staticdev package in TOOLCHAIN_TARGET_TASK. Needless to say, this workaround is just as undesirable as the former one.

I am using the sumo branch.

Thomas


Thomas Koeller
Senior Software Developer


Basler AG
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel. +49 4102 463 390
Fax +49 4102 463 46 390


Thomas.Koeller@baslerweb.com
www.baslerweb.com

Management board: Dr.-Ing. Dietmar Ley (CEO) · John P. Jennings · Arndt Bake · Hardy Mehl
Chairman of the supervisory board: Norbert Basler
Basler AG · Amtsgericht Lübeck HRB 4090 · Ust-IdNr.: DE 135 098 121 · Steuer-Nr.: 30 292 04497 · WEEE-Reg.-Nr. DE 83888045

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

end of thread, other threads:[~2019-08-07  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-06 14:04 -staticdev packages not in sdk Koeller, Thomas
2019-08-06 22:06 ` Richard Purdie
2019-08-07  9:06   ` Koeller, Thomas

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.