Arnout Vandecappelle schrieb am Mo., 10. Jan. 2022, 08:26: > > > On 09/01/2022 23:52, Norbert Lange wrote: > > Not only missing, but I sometimes need a *different* config. For example > i don't > > want to link against lz4, since I use zstd instead. > > Which is a great example of why the option doesn't work: it would affect > dependencies as well. > > However, specifically for this one, we have in the .mk file: > > ifeq ($(BR2_PACKAGE_ZSTD),y) > SYSTEMD_DEPENDENCIES += zstd > SYSTEMD_CONF_OPTS += -Dzstd=true > else > SYSTEMD_CONF_OPTS += -Dzstd=false > endif > > ifeq ($(BR2_PACKAGE_LZ4),y) > SYSTEMD_DEPENDENCIES += lz4 > SYSTEMD_CONF_OPTS += -Dlz4=true > else > SYSTEMD_CONF_OPTS += -Dlz4=false > endif > > So it should already do what you need, no? > I want lz4 in the rootfs, i don't want systemd to be linked against it (doesn't add anything for me, if zstd is available too) Norbert