On 11.09.19 13:23, Peter Smith wrote:
Apologize if this is a stupid question.

I am trying to build jailhouse as part of a Yocto (thud) build for the US+ MPSoC. I have based my recipe on one found in meta-ti/kernel/jailhouse as it seemed to be the most up to date recipe I could find.

The recipe builds using the following:

EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} KDIR=${STAGING_KERNEL_BUILDDIR}"

do_compile() {
oe_runmake V=1
}


Everything proceeds well until the make process reaches the tools directory where I get a compilation errors complaining about a missing <stdio.h> which Is rather odd I thought.


| /build1/peter/PE2/ZCU/build/tmp/work/zcu102_zynqmp-poky-linux/jailhouse/0.11+gitAUTOINC+955a9418df-r0/git/tools/jailhouse-gcov-extract.c:13:10: fatal error: stdio.h: No such file or directory
|  #include <stdio.h>
|           ^~~~~~~~~
| compilation terminated.
| /build1/peter/PE2/ZCU/build/tmp/work/zcu102_zynqmp-poky-linux/jailhouse/0.11+gitAUTOINC+955a9418df-r0/git/tools/jailhouse.c:14:10: fatal error: stdio.h: No such file or directory
|  #include <stdio.h>
|           ^~~~~~~~~
| compilation terminated.

So my question is, is this expected behavior?

Can the tools be built via Yocto?


Sure, you can. There have been various layers shared in the list before, check e.g. this thread:

https://groups.google.com/d/msgid/jailhouse-dev/CABPcKDPEVAW0Y1x8ndpc6LQutq8cCsEKu20inFyFhrMRwa%2B--w%40mail.gmail.com?utm_medium=email&utm_source=footer

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/00e5a697-7301-25f8-494d-04aa43d0b343%40siemens.com.

Reply via email to