ofproto: Bundle all controller-related settings into a struct.
[openvswitch] / datapath / linux-2.6 / Makefile.main.in
index 967e2f7bcff1953fffbcb3d5c1e3c2ebdbc3b2f1..4b87550221ceb4ef2ea174baeebbb7cecde78412 100644 (file)
@@ -41,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: