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 5fc97eab71ba139bbc248859bd5a21e7772be2c2..9de7bc95cd1be987c891f4c60fcb625df2013ca5 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