From f4c3fbc94d576e2e57717411ef015f27f84aceb5 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 5 May 2008 11:36:15 -0700 Subject: [PATCH] Check whether kernel has been configured by "version.h" instead of "utsrelease.h", since that convention wasn't introduced until 2.6.18. --- datapath/linux-2.6/Makefile.main.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2