[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu sources and makefile system
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] qemu sources and makefile system |
Date: |
Tue, 06 Jan 2015 20:45:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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