diff options
author | 2014-02-10 14:48:53 +0800 | |
---|---|---|
committer | 2014-02-20 13:12:54 +0100 | |
commit | 5c0d52bcd3aada33e274ea7dad75955f98bc2636 (patch) | |
tree | 26c967d29f6e9830fb972c3811fede422843a21c /util/module.c | |
parent | rules.mak: fix $(obj) to a real relative path (diff) | |
download | qemu-5c0d52bcd3aada33e274ea7dad75955f98bc2636.tar.xz 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 'util/module.c')
0 files changed, 0 insertions, 0 deletions