xenserver: Ensure that Bridge.other-config:hwaddr and Interface.MAC are set as approp...
[openvswitch] / datapath / linux-2.6 / Makefile.main.in
index fd231e6968c731dd4df1910fdcc253a80dac3ad1..cb2a042909daf4478b74aa4cd951d5038a18a355 100644 (file)
@@ -42,9 +42,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: