Remove Module.markers and Module.symver{s} in clean target
Split 'modules' and 'clean' Makefile targets to allow us to cleanly remove the Module.* build products with a 'make clean'.
This commit is contained in:
parent
3977f8370f
commit
21006d08af
|
@ -3,9 +3,14 @@ subdir-m += splat
|
||||||
|
|
||||||
INSTALL=/usr/bin/install
|
INSTALL=/usr/bin/install
|
||||||
|
|
||||||
modules clean:
|
modules:
|
||||||
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
||||||
|
if [ -f @LINUX_SYMBOLS@ ]; then $(RM) @LINUX_SYMBOLS@; fi
|
||||||
|
if [ -f Module.markers ]; then $(RM) Module.markers; fi
|
||||||
|
|
||||||
modules_install:
|
modules_install:
|
||||||
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \
|
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \
|
||||||
INSTALL_MOD_PATH=$(DESTDIR) \
|
INSTALL_MOD_PATH=$(DESTDIR) \
|
||||||
|
|
Loading…
Reference in New Issue