diff options
| author | Fam Zheng <famz@redhat.com> | 2014-02-10 14:48:53 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-20 13:12:54 +0100 |
| commit | 5c0d52bcd3aada33e274ea7dad75955f98bc2636 (patch) | |
| tree | 26c967d29f6e9830fb972c3811fede422843a21c /module-common.c | |
| parent | ba1183da9a10b94611cad88c44a5c6df005f9b55 (diff) | |
| download | focaccia-qemu-5c0d52bcd3aada33e274ea7dad75955f98bc2636.tar.gz focaccia-qemu-5c0d52bcd3aada33e274ea7dad75955f98bc2636.zip | |
rules.mak: allow per object cflags and libs
Adds extract-libs in LINK to expand any "per object libs", the syntax to define
such a libs options is like:
foo.o-libs := $(CURL_LIBS)
in block/Makefile.objs.
Similarly,
foo.o-cflags := $(FOO_CFLAGS)
is also supported.
"foo.o" must be listed in a nested var (e.g. common-obj-y) to make the
option variables effective.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions