Re: 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanillaok)

From: Fabian Fenaut
Date: Mon Mar 15 2004 - 14:20:41 EST


Ok, it seems it was a debian-related problem. Make-kpkg runs "make
clean" _after_ compilation, and "make clean" from 2.6.4-mmX now deletes
version.h.

Workaround:
do_clean := NO
in /etc/kernel-pkg.conf (thanks to Juergen)

Thank you and sorry for the noise.

--
Fabian


Sam Ravnborg wrote:
On Mon, Mar 15, 2004 at 07:04:23PM +0100, Fabian Fenaut wrote:

And, to compile my modules successfully, I copied version.h from vanilla to /usr/src/2.6.4-mm2/include/linux (and modified it the correct way). Then I compiled my modules, and after that, my hand-made version.h is still here, so make-kpkg doesn't delete anything.

=> version.h is _never_ created.


Works for me - hmmm. 1) Could you check you have write access to include/linux 2) Show the output of a make (please, no magic debian shell scripts) 3) Set CLEAN_FILES equal nothing in top-level Makefile
and try again.

Please mail the result of the above.

Sam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/