Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Many thanks. > On Wed, Nov 02, 2011 at 10:41:40PM +0100, Christophe BOUDER wrote: >> hello, >> >> i compile and run drbd8.4.0 perfectly with kernel 3.0.x >> but now with kernel 3.1 i try to compile with the right KDIR >> and i have : >> Makefile:82: *** "won't compile with this kernel version" > > Leftover old convenience sanity check for people trying to compile > against kernel 2.x with x < 6 ... > just remove it. > > diff --git a/drbd/Makefile b/drbd/Makefile > index 981abe2..2922cda 100644 > --- a/drbd/Makefile > +++ b/drbd/Makefile > @@ -77,11 +77,6 @@ else > endif > endif > > - KDIR_Makefile_PATCHLEVEL = $(shell test -e $(KDIR)/Makefile && grep > "^PATCHLEVEL = " $(KDIR)/Makefile | cut -d " " -f 3) > - ifneq ($(findstring $(KDIR_Makefile_PATCHLEVEL),12345),) > - $(error "won't compile with this kernel version") > - endif > - > .PHONY: drbd.o default all greeting clean kbuild install dep tags > > drbd.o: greeting kbuild > -- Christophe Bouder.