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

Re: [Xen-devel] missing dependency to compat/xen.h



On Wed, Sep 17, Jan Beulich wrote:

> >>> On 17.09.14 at 13:01, <olaf@xxxxxxxxx> wrote:
> > How is compat/xen.h supposed to be created?
> This make rule
> 
> $(TARGET): delete-unfresh-files
>       $(MAKE) -C tools
>       $(MAKE) -f $(BASEDIR)/Rules.mk include/xen/compile.h
>       [ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm
>       $(MAKE) -f $(BASEDIR)/Rules.mk -C include
>       $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) asm-offsets.s
>       $(MAKE) -f $(BASEDIR)/Rules.mk include/asm-$(TARGET_ARCH)/asm-offsets.h
>       $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) $(TARGET)
> 
> is - afaict - guaranteeing that the include/compat/ generation
> happens before that of asm-offsets.s.

I had a change like shown below, which confused the xen build. Meanwhile
I found a way to achive my goal without such a change by reusing the
existing .phony target.

Olaf

--- a/Config.mk
+++ b/Config.mk
@@ -167,6 +167,9 @@ define move-if-changed
        if ! cmp -s $(1) $(2); then mv -f $(1) $(2); else rm -f $(1); fi
 endef
 
+.PHONY: FORCE
+FORCE:
+
 buildmakevars2file = $(eval $(call buildmakevars2file-closure,$(1)))
 define buildmakevars2file-closure
     .PHONY: genpath


_______________________________________________
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®.