[Accel-config] [PATCH 4/5] accel-config: Remove libkmod dependencies in build files
Ramesh Thomas <ramesh.thomas at intel.com> Wed, 01 Dec 2021 18:59:08 -0500
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
From: Ramesh Thomas <ramesh.thomas(a)linux.intel.com>
Remove libkmod dependencies and references in build files and README
Signed-off-by: Ramesh Thomas <ramesh.thomas(a)linux.intel.com>
---
Makefile.am.in | 1 -
README.md | 4 ++--
accfg-test.spec.in | 1 -
accfg.spec.in | 1 -
accfg/lib/Makefile.am | 1 -
configure.ac | 1 -
debian/control | 1 -
7 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/Makefile.am.in b/Makefile.am.in
index 992551b..099ca8d 100644
--- a/Makefile.am.in
+++ b/Makefile.am.in
@@ -12,7 +12,6 @@ AM_CPPFLAGS = \
-I${top_srcdir}/accfg/lib \
-I${top_srcdir}/accfg \
-I${top_srcdir}/ \
- $(UDEV_CFLAGS) \
$(UUID_CFLAGS) \
$(JSON_CFLAGS)
diff --git a/README.md b/README.md
index abf1e1b..026366c 100644
--- a/README.md
+++ b/README.md
@@ -9,13 +9,13 @@ sub-system in the Linux kernel
```bash
yum groupinstall "Development Tools"
yum install autoconf automake libtool pkgconf rpm-build rpmdevtools
-yum install asciidoc xmlto libuuid-devel json-c-devel libudev-devel
+yum install asciidoc xmlto libuuid-devel json-c-devel
```
### Debian
```bash
apt install build-essential
apt install autoconf automake autotools-dev libtool pkgconf asciidoc xmlto
-apt install uuid-dev libjson-c-dev libudev-dev libkeyutils-dev
+apt install uuid-dev libjson-c-dev libkeyutils-dev
apt install debhelper devscripts debmake quilt fakeroot lintian asciidoctor
apt install file gnupg patch patchutils
```
diff --git a/accfg-test.spec.in b/accfg-test.spec.in
index 14bc5c4..fd6bc3f 100644
--- a/accfg-test.spec.in
+++ b/accfg-test.spec.in
@@ -15,7 +15,6 @@ BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libudev)
BuildRequires: systemd
%description
diff --git a/accfg.spec.in b/accfg.spec.in
index 1939e73..8842258 100644
--- a/accfg.spec.in
+++ b/accfg.spec.in
@@ -15,7 +15,6 @@ BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libudev)
BuildRequires: systemd
%description
diff --git a/accfg/lib/Makefile.am b/accfg/lib/Makefile.am
index ae450d0..f34a2d8 100644
--- a/accfg/lib/Makefile.am
+++ b/accfg/lib/Makefile.am
@@ -23,7 +23,6 @@ libaccel_config_la_SOURCES =\
libaccfg.c
libaccel_config_la_LIBADD =\
- $(UDEV_LIBS) \
$(UUID_LIBS)
EXTRA_DIST += libaccel-config.sym
diff --git a/configure.ac b/configure.ac
index 5595754..a6afc4a 100755
--- a/configure.ac
+++ b/configure.ac
@@ -97,7 +97,6 @@ AM_CONDITIONAL([ENABLE_TEST], [test "x$enable_test" = "xyes"])
PKG_CHECK_MODULES([UUID], [uuid],
[AC_DEFINE([HAVE_UUID], [1], [Define to 1 if using libuuid])])
PKG_CHECK_MODULES([JSON], [json-c])
-PKG_CHECK_MODULES([UDEV], [libudev])
AC_ARG_WITH([bash-completion-dir],
AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
diff --git a/debian/control b/debian/control
index f86498b..7b35e13 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,6 @@ Build-Depends: asciidoctor,
debhelper-compat (= 12),
libjson-c-dev,
libkeyutils-dev,
- libudev-dev,
pkg-config,
uuid-dev
--
2.26.3