2008-02-27 23:52:44 +03:00
|
|
|
subdir-m += spl
|
|
|
|
subdir-m += splat
|
|
|
|
|
2009-03-10 20:57:52 +03:00
|
|
|
INSTALL=/usr/bin/install
|
|
|
|
|
2009-03-05 20:08:07 +03:00
|
|
|
modules clean:
|
2009-06-26 02:31:53 +04:00
|
|
|
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
2008-02-27 23:52:44 +03:00
|
|
|
|
2009-03-05 20:08:07 +03:00
|
|
|
modules_install:
|
2009-06-26 02:31:53 +04:00
|
|
|
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \
|
|
|
|
INSTALL_MOD_PATH=$(DESTDIR) \
|
|
|
|
INSTALL_MOD_DIR=addon/spl $@
|
|
|
|
find ${DESTDIR}/lib/modules/ -name 'modules.*' | xargs ${RM}
|
2009-03-05 20:08:07 +03:00
|
|
|
|
|
|
|
distdir:
|
|
|
|
list='$(subdir-m)'; for subdir in $$list; do \
|
|
|
|
(find $$subdir -name '*.c' -o -name '*.h' | \
|
|
|
|
xargs /bin/cp -t $$distdir/$$subdir); \
|
|
|
|
done
|
|
|
|
|
|
|
|
distclean maintainer-clean: clean
|
|
|
|
install: modules_install
|
|
|
|
all: modules
|
2008-02-28 03:16:24 +03:00
|
|
|
check:
|