qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Vasile Catalin-B50542 <catalin.vasile@freescale.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu sources and makefile system
Date: Tue, 06 Jan 2015 20:45:49 +0100	[thread overview]
Message-ID: <54AC3B6D.3050506@redhat.com> (raw)
In-Reply-To: <20150106142543.1e7fb482@vm>



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

  reply	other threads:[~2015-01-06 19:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 12:25 [Qemu-devel] qemu sources and makefile system Vasile Catalin-B50542
2015-01-06 19:45 ` Paolo Bonzini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-06  9:44 Catalin Vasile
2015-01-07 13:02 ` Stefan Hajnoczi
2015-01-09  8:02   ` Vasile Catalin-B50542
2015-01-06  9:41 Catalin Vasile
2015-01-06  9:21 Vasile Catalin-B50542

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54AC3B6D.3050506@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=catalin.vasile@freescale.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).