[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v16 2/9] rules.mak: allow per object cflags and
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v16 2/9] rules.mak: allow per object cflags and libs |
Date: |
Thu, 16 Jan 2014 13:43:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 16/01/2014 13:40, Fam Zheng ha scritto:
> , compared to
>
> $(obj)/foo.mo-objs := $(obj)/bar.o $(obj)/biz.o $(obj)/qux.o
>
> or slightly better
>
> $(obj)/foo.mo-objs := $(addprefix $(obj), bar.o, biz.o, qux.o)
>
> I've already converted block/curl.o's cflags to this, later in this series. So
> yes I think this is a better syntax.
Also the previous mechanism is not usable for libraries, so that we have
to add them to libs_softmmu and/or libs_tools manually in the configure
script. So the new scheme is easier as well as more flexible.
Paolo
- [Qemu-devel] [PATCH v16 0/9] Shared library module support, Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 4/9] darwin: do not use -mdynamic-no-pic, Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 8/9] .gitignore: ignore module related files (dll, so, mo), Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 9/9] block: convert block drivers linked with libs to modules, Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 7/9] Makefile: install modules with "make install", Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 3/9] block: use per-object cflags and libs, Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 5/9] build-sys: introduce common-obj-m and block-obj-m for DSO, Fam Zheng, 2014/01/15
- [Qemu-devel] [PATCH v16 6/9] module: implement module loading, Fam Zheng, 2014/01/15