[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v4 5/6] configure: introduce --enable-module
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH v4 5/6] configure: introduce --enable-modules |
Date: |
Tue, 10 Sep 2013 15:42:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 10/09/2013 15:16, Fam Zheng ha scritto:
> +ifeq ($(CONFIG_MODULES),y)
> define add-modules
> $(foreach o,$(filter %.o,$($1)),$(eval \
> $(patsubst %.o,%.mo,$o): $o))
> @@ -146,6 +147,13 @@ dummy := $(call add-modules,common-obj-m)
>
> modules: $(patsubst %.mo,%$(DSOSUF),$(modules-m))
> all: modules
> +else
> +block-obj-y += $(block-obj-m)
> +common-obj-y += $(common-obj-m)
> +block-obj-m :=
> +common-obj-m :=
> +endif
> +
Should this be done in unnest-vars instead?
Paolo
- [Qemu-devel] [RFC PATCH v4 0/6] Shared Library Module Support, Fam Zheng, 2013/09/10
- [Qemu-devel] [RFC PATCH v4 1/6] make.rule: fix $(obj) to a real relative path, Fam Zheng, 2013/09/10
- [Qemu-devel] [RFC PATCH v4 2/6] rule.mak: allow per object cflags and libs, Fam Zheng, 2013/09/10
- [Qemu-devel] [RFC PATCH v4 3/6] Makefile: introduce common-obj-m and block-obj-m for DSO, Fam Zheng, 2013/09/10
- [Qemu-devel] [RFC PATCH v4 4/6] module: implement module loading function, Fam Zheng, 2013/09/10
- [Qemu-devel] [RFC PATCH v4 5/6] configure: introduce --enable-modules, Fam Zheng, 2013/09/10
- Re: [Qemu-devel] [RFC PATCH v4 5/6] configure: introduce --enable-modules,
Paolo Bonzini <=
- [Qemu-devel] [RFC PATCH v4 6/6] block: build qed and curl as shared library, Fam Zheng, 2013/09/10