Skip to contentSkip to conversation

Macros from autoconf-archive are missing in SDK

DISCUSSION Robert Tiemann 2 participants 3 messages Aug 25, 2020 – Aug 26, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I have a few recipes depending on autoconf-archive (using DEPENDS = "autoconf-archive"). The image is built correctly; the various m4 macros from autoconf-archive, however, do not end up in the SDK.

The SDK used to be complete in jethro, but now in dunfell these files are missing. I *think* the line
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
in meta/conf/layer.conf is causing this, so I have tried adding autoconf-archive-native to the DEPENDS variable of my recipes. This didn't work, and now I don't know what else I could try.

What can I do to add the m4 files from autoconf-archive to the SDK?

Thank you,
Robert

#1 lore raw
Quoted 6 lines · Robert Tiemann

Hi,

I have a few recipes depending on autoconf-archive (using DEPENDS = "autoconf-archive"). The image is built correctly; the various m4 macros from autoconf-archive, however, do not end up in the SDK.

Quoted 9 lines

The SDK used to be complete in jethro, but now in dunfell these files are missing. I *think* the line
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
in meta/conf/layer.conf is causing this, so I have tried adding autoconf-archive-native to the DEPENDS variable of my recipes. This didn't work, and now I don't know what else I could try.

What can I do to add the m4 files from autoconf-archive to the SDK?

perhaps you need TOOLCHAIN_HOST_TASK_append = " nativesdk-autoconf-archive" in config metadata somewhere like local.conf or site.conf

Quoted 6 lines

Thank you,
Robert

#2 lore raw
Quoted 1 line · Khem Raj

perhaps you need TOOLCHAIN_HOST_TASK_append = " nativesdk-autoconf-archive" in config metadata somewhere like local.conf or site.conf

Yes, this works (I have added this to local.conf). Thank you very much!

Cheers,
Robert