dkms.conf.in: Install all kernel modules.
[cascardo/ovs.git] / datapath / Makefile.am
index 1c9e53b..eac9582 100644 (file)
@@ -20,3 +20,12 @@ distfiles: Makefile
          sed -e "s|^$$srcdirstrip/||;t" \
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | sort -u > $@
 CLEANFILES = distfiles
+
+# Print name of all modules.
+print-build-modules:
+       @if test -z "$(build_modules)"; \
+       then \
+          echo "Could not find any kernel module."; \
+          exit 1; \
+       fi
+       @echo "$(build_modules)" | tr '_' '-';
\ No newline at end of file