diff options
author | Matthew Macy <[email protected]> | 2019-09-30 12:16:06 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-30 12:16:06 -0700 |
commit | 3283f137d713dce293983e573a62c344ddcf8a19 (patch) | |
tree | 0ee2ca31612d7422d6ca750f59a9ab4ce632d5a3 /cmd/zpool/Makefile.am | |
parent | 7bb0c294688ed121477536d7b4a7031c78a5706a (diff) |
OpenZFS restructuring - zpool
Factor Linux specific functions out of the zpool command.
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Sean Eric Fagan <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9333
Diffstat (limited to 'cmd/zpool/Makefile.am')
-rw-r--r-- | cmd/zpool/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am index c03da941d..42b19ef23 100644 --- a/cmd/zpool/Makefile.am +++ b/cmd/zpool/Makefile.am @@ -2,7 +2,8 @@ include $(top_srcdir)/config/Rules.am DEFAULT_INCLUDES += \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/lib/libspl/include + -I$(top_srcdir)/lib/libspl/include \ + -I. sbin_PROGRAMS = zpool @@ -13,6 +14,10 @@ zpool_SOURCES = \ zpool_util.h \ zpool_vdev.c +if BUILD_LINUX +zpool_SOURCES += os/linux/zpool_vdev_os.c +endif + zpool_LDADD = \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libuutil/libuutil.la \ |