2008-02-27 20:52:44 +00:00
|
|
|
subdir-m += spl
|
|
|
|
subdir-m += splat
|
|
|
|
|
2009-03-10 17:57:52 +00:00
|
|
|
INSTALL=/usr/bin/install
|
|
|
|
|
2009-03-05 17:08:07 +00:00
|
|
|
modules clean:
|
2008-06-02 17:28:49 +00:00
|
|
|
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
2008-02-27 20:52:44 +00:00
|
|
|
|
2009-03-05 17:08:07 +00:00
|
|
|
modules_install:
|
2009-03-10 17:57:52 +00: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 17:08:07 +00: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 00:16:24 +00:00
|
|
|
check:
|