X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux-2.6%2FMakefile.main.in;h=0809e6124bddc4f421dc652f90941e06f8736941;hb=2158888d8d8f3b4c00dcf979390a19fa7fcf7942;hp=967e2f7bcff1953fffbcb3d5c1e3c2ebdbc3b2f1;hpb=d17ee8689bff22541dccaa792b70a848641f3646;p=sliver-openvswitch.git diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index 967e2f7bc..0809e6124 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -4,7 +4,6 @@ export srcdir = @abs_srcdir@ export top_srcdir = @abs_top_srcdir@ export KSRC = @KBUILD26@ export VERSION = @VERSION@ -export BUILD_VETH = @BUILD_VETH@ include $(srcdir)/../Modules.mk include $(srcdir)/Modules.mk @@ -41,9 +40,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: