Messages in this thread | | | Date | Sat, 10 Sep 2005 08:33:52 +0200 | From | Sam Ravnborg <> | Subject | Re: [patch] kbuild: building with a mostly-clean /usr/src/linux and O= |
| |
On Wed, Sep 07, 2005 at 09:19:43AM +0200, Jan Beulich wrote: > Unfortunately this isn't sufficient, yet. In the architecture-specific > makefiles asm-offsets.s (or however the specific architectures call > this) now need their dependencies on include/linux/version.h changed (I > wonder whether it wouldn't be more efficient to centralize these > dependencies into an architecture-independent file, perhaps at once > applying consistent naming across all architectures)
This topic has been on my mind to implment over a long time. So I took a stamp on it and it hit -linus this night.
Dependencies on arch/$(ARCH)/kernel/asm-offsets.s is now tracked like any other dependency - so we now at last have full dependency checks for asm-offsets.h. Take a look at the Kbuild file in the top-level directory.
With respect to the patch posted below I recall I had to zap two $(objtree) to fix alpha build. Patch by Jan Dittmer - see 946dc121d7d1c606f6bbeb8ae778963a1e2ff59c
But that may have changed now after introducing generic asm-offsets.h support.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |