4 INSTALL
=/usr
/bin
/install
7 $(MAKE
) -C @LINUX_OBJ@ SUBDIRS
=`pwd` @KERNELMAKE_PARAMS@
$@
10 $(MAKE
) -C @LINUX_OBJ@ SUBDIRS
=`pwd` @KERNELMAKE_PARAMS@
$@
11 if
[ -f @LINUX_SYMBOLS@
]; then
$(RM
) @LINUX_SYMBOLS@
; fi
12 if
[ -f Module.markers
]; then
$(RM
) Module.markers
; fi
15 @
# Install the kernel modules
16 $(MAKE
) -C @LINUX_OBJ@ SUBDIRS
=`pwd` \
17 INSTALL_MOD_PATH
=$(DESTDIR
) \
18 INSTALL_MOD_DIR
=addon
/spl
$@
19 find
$(DESTDIR
)/lib
/modules
/ -name
'modules.*' | xargs
$(RM
)
20 sysmap
=$(DESTDIR
)/boot
/System.map-@LINUX_VERSION@
; \
21 if
[ -f
$$sysmap ]; then \
22 depmod
-ae
-F
$$sysmap @LINUX_VERSION@
; \
26 @
# Uninstall the kernel modules
27 $(RM
) -R
$(DESTDIR
)/lib
/modules
/@LINUX_VERSION@
/addon
/spl
30 list
='$(subdir-m)'; for subdir in
$$list; do \
31 (find @top_srcdir@
/module
/$$subdir -name
'*.c' -o
-name
'*.h' |\
32 xargs
/bin
/cp
-t
$$distdir/$$subdir); \
35 distclean maintainer-clean
: clean
36 install: modules_install
37 uninstall: modules_uninstall