|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8.1 13/27] x86/xen_hello_world.xsplice: Test payload for patching 'xen_extra_version'.
> >+.PHONY: xsplice
> >+xsplice: config.h
> >+ # Need to have these done in sequential order
> >+ $(MAKE) -f $(BASEDIR)/Rules.mk xen_hello_world_func.o
> >+ $(MAKE) -f $(BASEDIR)/Rules.mk xen_hello_world.o
>
> Why do these two need doing in order? And why can't $(XSPLICE) not just depend
> on its to object files, without needing explict make invocation to generate
> them?
That is b/c the the xen_hello_world.c depends on the generation of
config.h.
I _think_ I can do:
xsplice: config.h xen_hello_world_func.o
As the xen_hello_world_func.c should be able to be built without any
dependencies.
Or maybe I can do:
xen_hello_world.o: config.h
$(CC) $(CFLAGS) -c $< -o $@
^^^ - copy-n-paste from Rules.mk
xsplice: config.h xen_hello_world.o xen_hello_world_func.o
But I recall having issues with the $(CC).. I recall that
I tried the same thing as what Rules.mk has for %.o build (as in
copy-n-paste) but it had issues. But it may have been an earlier
bug in my code that I tripped over.
Let me play with this a bit.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |