[DRBD-cvs] svn commit by lars - r2611 - branches/drbd-0.7 - export
KDIR KVER O in Makefile
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Mon Dec 4 15:30:53 CET 2006
Author: lars
Date: 2006-12-04 15:30:51 +0100 (Mon, 04 Dec 2006)
New Revision: 2611
Modified:
branches/drbd-0.7/Makefile
Log:
export KDIR KVER O in Makefile
Modified: branches/drbd-0.7/Makefile
===================================================================
--- branches/drbd-0.7/Makefile 2006-12-02 12:39:22 UTC (rev 2610)
+++ branches/drbd-0.7/Makefile 2006-12-04 14:30:51 UTC (rev 2611)
@@ -158,6 +158,7 @@
all tools doc .filelist: drbd/drbd_buildtag.c
+export KDIR KVER O
KDIR := $(shell echo /lib/modules/`uname -r`/build)
KVER := $(shell KDIR=$(KDIR) O=$(O) scripts/get_uts_release.sh)
@@ -168,7 +169,6 @@
test -e $$d && cp -fav --backup=numbered $$d $$d; \
bash scripts/patch-kernel $(KDIR) . > $$d
-# maybe even dist/RPMS/$(ARCH) ?
rpm: tgz
@if [ -z "$(KVER)" ]; then \
echo "Could not determine uts_release" ; \
More information about the drbd-cvs
mailing list