On 06/01/2015 13:25, Vasile Catalin-B50542 wrote: > I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. > To be more specific, I'm trying to add a file into <qemu > src>/hw/virtio/. I've added "common-obj-y += virtio-src.o" to the > src>Makefile.objs in that folder > and when I'm compiling qemu it seems to compile the sources, but I > don't know if they are added to the qemu binary. > Is there anything else left to do in order for qemu build system to > include my source file?
No, that should be enough. You can use "make V=1" to see the linker command line, or "nm" to check if your functions are found in the final executable. Paolo