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:
|
2008-06-02 21:28:49 +04:00
|
|
|
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
2008-02-27 23:52:44 +03:00
|
|
|
|
2009-03-05 20:08:07 +03:00
|
|
|
modules_install:
|
2009-03-10 20:57:52 +03:00
|
|
|
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
|
|
|
|
INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
|
|
|
|
$(INSTALL) -D Module.symvers \
|
|
|
|
$(DESTDIR)/@LINUX@/include/spl/Module.symvers
|
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:
|