]>
Commit | Line | Data |
---|---|---|
a0aadf56 | 1 | subdir-m += spl |
2 | subdir-m += splat | |
3 | ||
0c617c9a BB |
4 | INSTALL=/usr/bin/install |
5 | ||
c5f70460 | 6 | modules clean: |
57d86234 | 7 | $(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@ |
a0aadf56 | 8 | |
c5f70460 | 9 | modules_install: |
0c617c9a BB |
10 | $(MAKE) -C @LINUX@ SUBDIRS=`pwd` \ |
11 | INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@ | |
12 | $(INSTALL) -D Module.symvers \ | |
13 | $(DESTDIR)/@LINUX@/include/spl/Module.symvers | |
c5f70460 BB |
14 | |
15 | distdir: | |
16 | list='$(subdir-m)'; for subdir in $$list; do \ | |
17 | (find $$subdir -name '*.c' -o -name '*.h' | \ | |
18 | xargs /bin/cp -t $$distdir/$$subdir); \ | |
19 | done | |
20 | ||
21 | distclean maintainer-clean: clean | |
22 | install: modules_install | |
23 | all: modules | |
07d339d4 | 24 | check: |