Check whether kernel has been configured by "version.h" instead of "utsrelease.h...
authorJustin Pettit <jpettit@nicira.com>
Mon, 5 May 2008 18:36:15 +0000 (11:36 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 5 May 2008 18:36:15 +0000 (11:36 -0700)
datapath/linux-2.6/Makefile.main.in

index 5fc97ea..9de7bc9 100644 (file)
@@ -41,9 +41,9 @@ ifneq ($(shell grep -c 'PATCHLEVEL = 6' $(KSRC)/Makefile),1)
   $(error Linux kernel source in $(KSRC) not 2.6)
 endif
 
-VERSION_FILE := $(KOBJ)/include/linux/utsrelease.h
+VERSION_FILE := $(KOBJ)/include/linux/version.h
 ifeq (,$(wildcard $(VERSION_FILE)))
-  $(error Linux kernel source not configured - missing utsrelease.h)
+  $(error Linux kernel source not configured - missing version.h)
 endif
 
 CONFIG_FILE := $(KSRC)/include/linux/autoconf.h