From: Justin Pettit Date: Mon, 5 May 2008 18:36:15 +0000 (-0700) Subject: Check whether kernel has been configured by "version.h" instead of "utsrelease.h... X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4c3fbc94d576e2e57717411ef015f27f84aceb5;p=openvswitch Check whether kernel has been configured by "version.h" instead of "utsrelease.h", since that convention wasn't introduced until 2.6.18. --- diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index 5fc97eab..9de7bc95 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -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