Re: [PATCH v9] fix-up an implicit build dead-loop in cfg.mk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sorry, wrong prefix, re-sent it.

在 2012-09-28五的 11:48 +0800,liguang写道:
> if gnulib submodule happened to be dirty, build
> process  will fall into '_autogen' target trap
> in cfg.mk recursively, so break this dead-loop.
> 
> Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx>
> ---
>  cfg.mk |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/cfg.mk b/cfg.mk
> index bbfd4a2..92966d5 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -699,7 +699,7 @@ ifeq (0,$(MAKELEVEL))
>        test "$$stamp" = "$$actual"; echo $$?)
>    _clean_requested = $(filter %clean,$(MAKECMDGOALS))
>    ifeq (1,$(_update_required)$(_clean_requested))
> -    $(info INFO: gnulib update required; running ./autogen.sh first)
> +    $(error ERR: gnulib update required; running ./autogen.sh first)
>  Makefile: _autogen
>    endif
>  endif

-- 
liguang    lig.fnst@xxxxxxxxxxxxxx
FNST linux kernel team


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]