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

Re: [Xen-devel] [PATCH 4/5] make: Add subtree-update target



On Mon, 2014-07-14 at 17:15 +0100, George Dunlap wrote:
> subtree-update will update all subtrees according to the current TAG specified
> in Config.mk.

I've often wanted this, thanks!

Due to the previous it'll also clone/etc all the trees for you if they
don't exist, won't it? People may well find that quite useful too.

> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
> 
> ---
> CC: Ian Campbell <ian.campbell@xxxxxxxxxx>
> CC: Ian Jackson <ian.jackson@xxxxxxxxxx>
> ---
>  Makefile                |    4 ++++
>  tools/Makefile          |    9 +++++++++
>  tools/firmware/Makefile |    8 ++++++++
>  3 files changed, 21 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index 41dabbf..b804bcf 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -135,6 +135,10 @@ debball: dist
>  rpmball: dist
>       bash ./tools/misc/mkrpm $(XEN_ROOT) $$($(MAKE) -C xen xenversion 
> --no-print-directory)
>  
> +.PHONY: subtree-update
> +subtree-update:
> +     $(MAKE) -C tools subtree-update
> +
>  .PHONY: clean
>  clean::
>       $(MAKE) -C xen clean
> diff --git a/tools/Makefile b/tools/Makefile
> index b6476c9..8725c59 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -240,3 +240,12 @@ subdir-all-debugger/kdd: .phony
>  
>  subdir-distclean-firmware: .phony
>       $(MAKE) -C firmware distclean
> +
> +subtree-update:
> +ifeq ($(CONFIG_QEMU_XEN),y)
> +     $(MAKE) qemu-xen-dir-force-update
> +endif
> +ifeq ($(CONFIG_QEMU_TRAD),y)
> +     $(MAKE) qemu-xen-traditional-dir-force-update
> +endif
> +     $(MAKE) -C firmware subtree-update
> diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
> index 660bacb..377a8cf 100644
> --- a/tools/firmware/Makefile
> +++ b/tools/firmware/Makefile
> @@ -88,3 +88,11 @@ subdir-clean-seabios-dir:
>       set -e; if test -d seabios-dir/.; then \
>               $(MAKE) -C seabios-dir clean; \
>       fi
> +
> +subtree-update:
> +ifeq ($(CONFIG_SEABIOS),y)
> +     $(MAKE) seabios-dir-force-update
> +endif
> +ifeq ($(CONFIG_OVMF),y)
> +     $(MAKE) ovmf-dir-force-update
> +endif



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.