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

Re: [Xen-devel] [PATCH] build: fix clean rule to cover objects in unvisited subdirs



> On Dec 1, 2015, at 10:07 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
> 
> For one build run, yes. But then you can (a) build individual object
> files and (b) as mentioned above change configuration (implying
> that you know what you're doing). Also you could, using the
> example above, do a kexec=y build, then a kexec=n one, then
> notice you needed to clean in between, so you then clean using
> kexec=n and build again with that option, but cleaning again
> would still leave the kexec files around.
> 
> And btw., we have a similar issue already when you switch
> between arches (no cleaning happens cross-arch).

OK, so you are working on a different assumption than I was. I was
treating the clean rule as needing to be run when you are wanting to
explicitly rebuild all object files needed for the current build configuration 
(i.e., only cleaning files that would be linked into the current hypervisor 
build).
It sounds like you are expecting the clean rule to clean out all object
files no matter whether they are part of the current build configuration
or not. 

Working on that assumption, it seems like running a:
    find . -name â*.oâ -type f -delete 
from the xen/ directory would accomplish that and would be less
fragile than trying to grab various different variables and munge
them to try to grab all possible .o files specified by the system. Plus,
the find command would likely execute quicker. 

Does something like that seem acceptable?
_______________________________________________
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®.