@@ -9,7 +9,6 @@ daxctl_SOURCES =\
daxctl_LDADD =\
lib/libdaxctl.la \
- ../ndctl/lib/libndctl.la \
../libutil.a \
$(UUID_LIBS) \
$(JSON_LIBS)
@@ -67,17 +67,11 @@ static int cmd_help(int argc, const char **argv, void *ctx)
}
int cmd_list(int argc, const char **argv, void *ctx);
-#ifdef ENABLE_DAXIO
-int cmd_io(int argc, const char **argv, void *ctx);
-#endif
static struct cmd_struct commands[] = {
{ "version", cmd_version },
{ "list", cmd_list },
{ "help", cmd_help },
-#ifdef ENABLE_DAXIO
- { "io", cmd_io },
-#endif
};
int main(int argc, const char **argv)
@@ -20,9 +20,6 @@ BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(bash-completion)
-%ifarch x86_64
-BuildRequires: pkgconfig(libpmem)
-%endif
%description
Utility library for managing the "libnvdimm" subsystem. The "libnvdimm"
@@ -93,11 +90,7 @@ control API for these devices.
%build
echo %{version} > version
./autogen.sh
-%ifarch x86_64
-%configure --disable-static --disable-silent-rules --with-libpmem
-%else
%configure --disable-static --disable-silent-rules
-%endif
make %{?_smp_mflags}
%install
commit 0a8dd795b4cf ("ndctl: removing daxctl io") didn't fully remove all daxctl io, leaving behind a few of the lines which were added by the original commit: commit 67b54c1c76e5 ("ndctl: daxctl: Adding io option for daxctl") Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Fixes: commit 0a8dd795b4cf ("ndctl: removing daxctl io") --- daxctl/Makefile.am | 1 - daxctl/daxctl.c | 6 ------ ndctl.spec.in | 7 ------- 3 files changed, 14 deletions(-)