Process script directory for all configs

Even when only building kmods process the scripts directory.  This
way the common.sh script will be generated and the zfs.sh script
can be used to load/unload the in-tree kernel modules.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #14027
Closes #14051
This commit is contained in:
Damian Szuberski
2022-10-28 09:45:14 +10:00
committed by GitHub
parent 4d631a509d
commit 1428ede0ba
2 changed files with 14 additions and 8 deletions
+13 -7
View File
@@ -1,11 +1,4 @@
scriptsdir = $(datadir)/$(PACKAGE)
dist_scripts_SCRIPTS = \
%D%/zfs-helpers.sh \
%D%/zfs-tests.sh \
%D%/zfs.sh \
%D%/zimport.sh \
%D%/zloop.sh
dist_noinst_SCRIPTS = \
%D%/commitcheck.sh \
%D%/common.sh.in \
@@ -18,6 +11,19 @@ dist_noinst_SCRIPTS = \
%D%/paxcheck.sh \
%D%/zfs-tests-color.sh
scripts_scripts = \
%D%/zfs-helpers.sh \
%D%/zfs-tests.sh \
%D%/zfs.sh \
%D%/zimport.sh \
%D%/zloop.sh
if CONFIG_USER
dist_scripts_SCRIPTS = $(scripts_scripts)
else
dist_noinst_SCRIPTS += $(scripts_scripts)
endif
dist_noinst_DATA += \
%D%/cstyle.pl \
%D%/enum-extract.pl \