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 s
On Thu, 01/16 11:04, Peter Maydell wrote:
> On 15 January 2014 08:48, Fam Zheng wrote:.objs.
> > Similarly,
> >
> > foo.o-cflags := $(FOO_CFLAGS)
> >
> > is also supported.
>
> I noticed that we already support per-object cflags via:
>
> $(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBU
On 15 January 2014 08:48, Fam Zheng wrote:.objs.
> Similarly,
>
> foo.o-cflags := $(FOO_CFLAGS)
>
> is also supported.
I noticed that we already support per-object cflags via:
$(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
(this example from audio/Makefile.objs). Is your
On Wed, 01/15 19:35, Peter Maydell wrote:
> On 15 January 2014 08:48, Fam Zheng wrote:
> > 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.
> >
> > Simila
On 15 January 2014 08:48, Fam Zheng wrote:
> 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 sup
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