build-sys: Don't add libkmod subdirectory to include path
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 26 Dec 2014 01:07:48 +0000 (23:07 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 26 Dec 2014 01:41:34 +0000 (23:41 -0200)
Like 05437b8 (Makefile.am: Don't add abc subdirectory to include path)
in libabc by Josh Triplett.

Makefile.am
testsuite/init_module.c
testsuite/test-blacklist.c

index 8a69fbc..72b66ec 100644 (file)
@@ -16,7 +16,6 @@ export GCC_COLORS
 
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
-       -I$(top_srcdir)/libkmod \
        -I$(top_srcdir) \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
        -DLIBEXECDIR=\""$(libexecdir)"\" \
index 2af1828..a188560 100644 (file)
@@ -43,7 +43,7 @@
 #include <shared/util.h>
 
 /* kmod_elf_get_section() is not exported, we need the private header */
-#include <libkmod-internal.h>
+#include <libkmod/libkmod-internal.h>
 
 /* FIXME: hack, change name so we don't clash */
 #undef ERR
index 7202bf8..ce17399 100644 (file)
@@ -28,7 +28,7 @@
 
 /* good luck bulding a kmod_list outside of the library... makes this blacklist
  * function rather pointless */
-#include <libkmod-internal.h>
+#include <libkmod/libkmod-internal.h>
 
 /* FIXME: hack, change name so we don't clash */
 #undef ERR