Lines Matching +full:u +full:- +full:boot +full:- +full:spl
7 distclean maintainer-clean: clean
12 .PHONY: all distclean maintainer-clean install uninstall check distdir \
13 modules modules-Linux modules-FreeBSD modules-unknown \
14 clean clean-Linux clean-FreeBSD \
15 modules_install modules_install-Linux modules_install-FreeBSD \
16 data_install data_install-Linux data_install-FreeBSD \
17 modules_uninstall modules_uninstall-Linux modules_uninstall-FreeBSD \
18 data_uninstall data_uninstall-Linux data_uninstall-FreeBSD \
19 cppcheck cppcheck-Linux cppcheck-FreeBSD
27 set -- \
28 $(filter-out --%,$(firstword $(MFLAGS))) \
29 $(filter -I%,$(MFLAGS)) \
30 $(filter -j%,$(MFLAGS)); \
36 ncpus=$$(sysctl -n kern.smp.cpus 2>/dev/null || :); \
37 if [ -n "$$ncpus" ]; then fmakeflags="$$fmakeflags -j$$ncpus"; fi; \
39 d) fmakeflags="$$fmakeflags -dA";; \
40 *) fmakeflags="$$fmakeflags -$$flag$$OPTARG";; \
45 FMAKEFLAGS = -C @abs_srcdir@ -f Makefile.bsd $(shell $(getflags))
51 FMAKE = env -u MAKEFLAGS make $(FMAKEFLAGS)
53 modules-Linux:
54 mkdir -p $(sort $(dir $(spl-objs) $(spl-)))
55 mkdir -p $(sort $(dir $(zfs-objs) $(zfs-)))
56 $(MAKE) -C @LINUX_OBJ@ $(if @KERNEL_CC@,CC=@KERNEL_CC@) \
60 modules-FreeBSD:
63 modules-unknown:
66 modules: modules-@ac_system@
68 clean-Linux:
71 @CONFIG_KERNEL_TRUE@ $(MAKE) -C @LINUX_OBJ@ M="$$PWD" @KERNEL_MAKE@ clean
74 find . -name '*.ur-safe' -type f -delete
76 clean-FreeBSD:
79 clean: clean-@ac_system@
81 .PHONY: modules_uninstall-Linux-legacy
82 modules_uninstall-Linux-legacy:
83 …$(RM) -r $(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,spl/ avl/ icp/ lua/ nvpair/ unicode/ zcommon/ …
86 modules_install-Linux: modules_uninstall-Linux-legacy
88 $(MAKE) -C @LINUX_OBJ@ M="$$PWD" modules_install \
93 if [ -n "$(DESTDIR)" ]; then \
94 find $(KMODDIR) -name 'modules.*' -delete; \
102 sysmap=$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \
103 { [ -f "$$sysmap" ] && [ $$(wc -l < "$$sysmap") -ge 100 ]; } || \
104 sysmap=$(INSTALL_MOD_PATH)/usr/lib/debug/boot/System.map-@LINUX_VERSION@; \
105 if [ -f $$sysmap ]; then \
106 depmod -ae -F $$sysmap @LINUX_VERSION@; \
109 modules_install-FreeBSD:
113 modules_install: modules_install-@ac_system@
115 data_install-Linux:
116 @mkdir -p $(DESTDIR)/@prefix@/src/zfs-@VERSION@/@LINUX_VERSION@
117 …cp ../zfs.release ../zfs_config.h @LINUX_SYMBOLS@ $(DESTDIR)/@prefix@/src/zfs-@VERSION@/@LINUX_VER…
119 data_install-FreeBSD:
122 data_install: data_install-@ac_system@
124 modules_uninstall-Linux: modules_uninstall-Linux-legacy
126 $(RM) $(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,zfs.ko spl.ko)
128 modules_uninstall-FreeBSD:
131 modules_uninstall: modules_uninstall-@ac_system@
133 data_uninstall-Linux:
134 …$(RM) $(addprefix $(DESTDIR)/@prefix@/src/zfs-@VERSION@/@LINUX_VERSION@/,zfs.release zfs_config.h …
136 data_uninstall-FreeBSD:
139 data_uninstall: data_uninstall-@ac_system@
141 cppcheck-Linux:
142 @CPPCHECK@ -j@CPU_COUNT@ --std=c99 --quiet --force --error-exitcode=2 \
143 --inline-suppr \
144 --suppress=unmatchedSuppression \
145 --suppress=noValidConfiguration \
146 --enable=warning,information -D_KERNEL \
147 --include=@LINUX_OBJ@/include/generated/autoconf.h \
148 --include=@top_builddir@/zfs_config.h \
149 --config-exclude=@LINUX_OBJ@/include \
150 -i zstd/lib \
151 -I @LINUX_OBJ@/include \
152 -I @top_srcdir@/include/os/linux/kernel \
153 -I @top_srcdir@/include/os/linux/spl \
154 -I @top_srcdir@/include/os/linux/zfs \
155 -I @top_srcdir@/include \
158 cppcheck-FreeBSD:
161 cppcheck: cppcheck-@ac_system@
164 …cd @srcdir@ && find . -name '*.[chS]' -exec sh -c 'for f; do mkdir -p $$distdir/$${f%/*}; cp @srcd…
167 gen-zstd-symbols:
168 …td/,$(ZSTD_UPSTREAM_OBJS)); do echo; echo "/* $${obj#zstd/}: */"; @OBJDUMP@ -t $$obj | awk '$$2 ==…
170 check-zstd-symbols:
171 …@OBJDUMP@ -t $(addprefix zstd/,$(ZSTD_UPSTREAM_OBJS)) | awk '/file format/ {print} $$2 == "g" && …