commit | 5c0d52bcd3aada33e274ea7dad75955f98bc2636 | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Mon Feb 10 14:48:53 2014 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 20 13:12:54 2014 +0100 |
tree | 26c967d29f6e9830fb972c3811fede422843a21c | |
parent | ba1183da9a10b94611cad88c44a5c6df005f9b55 [diff] |
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>