Messages in this thread | | | Subject | Re: [PATCH] Speed up "make headers_*" | From | David Woodhouse <> | Date | Sun, 08 Jun 2008 12:47:03 +0100 |
| |
On Sun, 2008-06-08 at 13:30 +0200, Sam Ravnborg wrote: > I will name it ASMDIR and set it to 'y' if we shall install to asm/
That works if we can't just make the top-level Makefile set $(dst) for itself. Which perhaps we could, if we stopped it running the whole recursive installation on include/ for each arch, and instead made it run only on include/asm-$(ARCH) for each arch.
And do a separate run for the other directories, of course -- probably with $(ARCH) and $(SRCARCH) set to empty or something.
That also might help shave a little more time off by not repeating the export 20 times for every non-asm subdirectory. (Not that we actually _do_ repeat it, but even the make invocation and the dependency checks take time).
-- dwmw2
| |