>     Fixes the following do_compile error:
>
>     |   /usr/include/linux/types.h:5:10: fatal error: 'asm/types.h'
>     file not found
>     |   thread 'main' panicked at
>     
> /yocto/sandbox/build/tmp/work/cortexa72-poky-linux/thin-provisioning-tools/1.1.0/sources-unpack/cargo_home/bitbake/devicemapper-sys-0.3.0/build.rs:24:10:
>     |   Could not generate dm.h bindings:
>     ClangDiagnostic("/usr/include/linux/types.h:5:10: fatal error:
>     'asm/types.h' file not found\n")
>
>
> Good catch I forgot about target vs build here once we point it to
> target sysroot we should not need build flags perhaps passing
> TOOLCHAIN_OPTIONS would suffice 
>
>
Yup, you are right - TOOLCHAIN_OPTIONS seems to do the trick.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115694): 
https://lists.openembedded.org/g/openembedded-devel/message/115694
Mute This Topic: https://lists.openembedded.org/mt/111413493/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to