From 1db9e6e4e4c355a89e52f156f63843d01f84866e Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 16 Sep 2020 01:42:27 +0300 Subject: zfs label bootenv should store data as nvlist nvlist does allow us to support different data types and systems. To encapsulate user data to/from nvlist, the libzfsbootenv library is provided. Reviewed-by: Arvind Sankar Reviewed-by: Allan Jude Reviewed-by: Paul Dagnelie Reviewed-by: Igor Kozhukhov Signed-off-by: Toomas Soome Closes #10774 --- lib/libzpool/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libzpool') diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am index 9c1b81bf5..992c21cc1 100644 --- a/lib/libzpool/Makefile.am +++ b/lib/libzpool/Makefile.am @@ -7,6 +7,13 @@ VPATH = \ $(top_srcdir)/module/os/linux/zfs \ $(top_srcdir)/lib/libzpool +if BUILD_FREEBSD +DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/freebsd/zfs +endif +if BUILD_LINUX +DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/linux/zfs +endif + # Unconditionally enable debugging for libzpool AM_CPPFLAGS += -DDEBUG -UNDEBUG -DZFS_DEBUG -- cgit v1.2.3