[DRBD-user] [patch] in-kernel builds
Lars.Ellenberg at linbit.com
Tue Apr 20 18:15:34 CEST 2004
/ 2004-04-20 18:34:04 +0400
\ Eugene Crosser:
> On Tue, 2004-04-20 at 15:45, Lars Ellenberg wrote:
> > Ok, just now committed a slightly improved patch into CVS.
> > * new make target: kernel-patch
> > use like "make kernel-patch KDIR=/usr/src/linux-2.6.5-something"
> > generates a patch-linux-*-drbd-* in the toplevel directory, you can
> > then verify and apply it to your kernel source.
> Cool! The patched kernel even builds successfully (did not try to run
> Just to be pedantic: for me, $(KVER) failed to initialize on "make
> kernel-patch" so the name of the resulting file was
how about this. then it is your buisiness to name KDIR "phony"...
set -o noclobber; \
+ kbase=$$(basename $(KDIR)); \
bash scripts/patch-kernel $(KDIR) . > $$d
More information about the drbd-user