qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]