Print this page
8115 parallel zfs mount
*** 27,37 ****
LIBRARY= libzpool.a
VERS= .1
# include the list of ZFS sources
include ../../../uts/common/Makefile.files
! KERNEL_OBJS = kernel.o taskq.o util.o
DTRACE_OBJS = zfs.o
OBJECTS=$(LUA_OBJS) $(ZFS_COMMON_OBJS) $(ZFS_SHARED_OBJS) $(KERNEL_OBJS)
# include library definitions
--- 27,37 ----
LIBRARY= libzpool.a
VERS= .1
# include the list of ZFS sources
include ../../../uts/common/Makefile.files
! KERNEL_OBJS = kernel.o util.o
DTRACE_OBJS = zfs.o
OBJECTS=$(LUA_OBJS) $(ZFS_COMMON_OBJS) $(ZFS_SHARED_OBJS) $(KERNEL_OBJS)
# include library definitions
*** 65,77 ****
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CFLAGS += -g $(CCVERBOSE) $(CNOGLOBAL)
CFLAGS64 += -g $(CCVERBOSE) $(CNOGLOBAL)
! LDLIBS += -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd
! CPPFLAGS += $(INCS) -DDEBUG
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-empty-body
--- 65,82 ----
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CFLAGS += -g $(CCVERBOSE) $(CNOGLOBAL)
CFLAGS64 += -g $(CCVERBOSE) $(CNOGLOBAL)
! LDLIBS += -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd \
! -lfakekernel
! CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common
! CPPFLAGS += $(INCS) -DDEBUG -D_FAKE_KERNEL
+ LINTFLAGS += -erroff=E_STATIC_UNUSED $(INCS)
+ LINTFLAGS64 += -erroff=E_STATIC_UNUSED $(INCS)
+
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-empty-body