X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux-2.6%2FMakefile.main.in;h=4b87550221ceb4ef2ea174baeebbb7cecde78412;hb=79c9f2ee7883b52860c76c3730725f5731402874;hp=fd231e6968c731dd4df1910fdcc253a80dac3ad1;hpb=c3e3d2a1e72f2fec8580e7974f809846788bc8ff;p=openvswitch diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index fd231e69..4b875502 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -5,7 +5,6 @@ export top_srcdir = @abs_top_srcdir@ export KSRC = @KBUILD26@ export VERSION = @VERSION@ export BUILD_VETH = @BUILD_VETH@ -export BUILD_GRE = @BUILD_GRE@ include $(srcdir)/../Modules.mk include $(srcdir)/Modules.mk @@ -42,9 +41,12 @@ ifeq (,$(wildcard $(VERSION_FILE))) $(error Linux kernel source not configured - missing version.h) endif -CONFIG_FILE := $(KSRC)/include/linux/autoconf.h +CONFIG_FILE := $(KSRC)/include/generated/autoconf.h ifeq (,$(wildcard $(CONFIG_FILE))) - $(error Linux kernel source not configured - missing autoconf.h) + CONFIG_FILE := $(KSRC)/include/linux/autoconf.h + ifeq (,$(wildcard $(CONFIG_FILE))) + $(error Linux kernel source not configured - missing autoconf.h) + endif endif default: