**** BEGIN LOGGING AT Thu Feb 10 02:59:56 2022 Feb 10 12:36:50 Hello guys! Could you please advise, how to install the C header that should be available for target and hosts packages by bitbake recipe? Feb 10 14:08:11 Kaa: do_install should be installing headers into ${D}${includedir}, typically 'make install' or similar does this. If it doesn't then that's where to put them Feb 10 14:22:19 rburton: the issue is a little bit different. I want use header from package what goes for target in the package for native. Some how STAGING_DIR_HOST became empy for native packages. Feb 10 14:22:47 you can't use target headers to build native things Feb 10 14:22:57 build the thing for native, then you can use its headers Feb 10 14:25:12 rburton: I can't build thing for native because it's for target :D Feb 10 14:27:38 so how does these headers which are target specific make any sense in native then? Feb 10 14:30:16 rburton: It's very simple, there is a device SDK that generates programs, libraries, and headers for a target device. And there is a bunch of tools used to create specific image firmware. These tools use information from device-specific headers. Feb 10 14:30:59 worst case, write a new recipe to install the headers Feb 10 14:31:01 To build an image maker tool I should provide a header from SDK. Feb 10 14:31:23 These headers is generated during the build. Feb 10 14:31:54 In that case I will have a problem that during building native headers package I don't have access to target toolchain Feb 10 14:33:07 I see the required headers in the directory with my native package at recipe-sysroot directory, but toolchain.cmake doesn't have it Feb 10 14:39:43 rburton: That helped me OECMAKE_EXTRA_ROOT_PATH = "${RECIPE_SYSROOT}" ^_^ **** ENDING LOGGING AT Fri Feb 11 02:59:56 2022