openvswitch: Remove Linux bridge compatibility.
[sliver-openvswitch.git] / datapath / linux / Makefile.main.in
index 1edfc34..2e445ac 100644 (file)
@@ -13,15 +13,34 @@ default: $(build_links)
 $(foreach s,$(sort $(foreach m,$(build_modules),$($(m)_sources))), \
   $(eval $(notdir $(s)): ; ln -s $(srcdir)/../$(s) $@))
 
-distclean: clean
-       rm -f kcompat.h
+all: default
 distdir: clean
 install:
-all: default
+install-data:
+install-exec:
+uninstall:
+install-dvi:
+install-html:
+install-info:
+install-ps:
+install-pdf:
+installdirs:
 check: all
+installcheck:
+mostlyclean:
 clean:
-       rm -f *.o *.ko *_mod.* Module.symvers *.cmd kcompat.h.new
+       rm -f *.o *.ko *.mod.* Module.symvers *.cmd kcompat.h.new
        for d in $(build_links); do if test -h $$d; then rm $$d; fi; done
+distclean: clean
+       rm -f kcompat.h
+maintainer-clean: distclean
+dvi:
+pdf:
+ps:
+info:
+html:
+tags:
+TAGS:
 
 ifneq ($(KSRC),)
 
@@ -33,7 +52,10 @@ endif
 
 VERSION_FILE := $(KOBJ)/include/linux/version.h
 ifeq (,$(wildcard $(VERSION_FILE)))
-  $(error Linux kernel source not configured - missing version.h)
+  VERSION_FILE := $(KOBJ)/include/generated/uapi/linux/version.h
+  ifeq (,$(wildcard $(VERSION_FILE)))
+    $(error Linux kernel source not configured - missing version.h)
+  endif
 endif
 
 CONFIG_FILE := $(KSRC)/include/generated/autoconf.h