diff options
Diffstat (limited to 'backport')
-rw-r--r-- | backport/Makefile | 7 | ||||
-rw-r--r-- | backport/Makefile.build | 6 | ||||
-rw-r--r-- | backport/Makefile.real | 4 |
3 files changed, 16 insertions, 1 deletions
diff --git a/backport/Makefile b/backport/Makefile index 5cb70169..287b27de 100644 --- a/backport/Makefile +++ b/backport/Makefile @@ -29,6 +29,13 @@ export KLIB KLIB_BUILD BACKPORT_PWD KMODDIR KMODPATH_ARG default: @$(MAKE) modules +.PHONY: mrproper +mrproper: + @test -f .config && $(MAKE) clean || true + @rm -f .config + @rm -f .kernel_config_md5 Kconfig.versions Kconfig.kernel + @rm -f backport-include/backport/autoconf.h + .DEFAULT: @set -e ; test -f $(KERNEL_CONFIG) || ( \ echo "/--------------" ;\ diff --git a/backport/Makefile.build b/backport/Makefile.build index 3ac4350e..d2090415 100644 --- a/backport/Makefile.build +++ b/backport/Makefile.build @@ -1,6 +1,10 @@ -include .config +-include .config export .PHONY: modules modules: @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_PWD) modules + +.PHONY: clean +clean: + @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_PWD) clean diff --git a/backport/Makefile.real b/backport/Makefile.real index 243f904f..e033d73b 100644 --- a/backport/Makefile.real +++ b/backport/Makefile.real @@ -97,3 +97,7 @@ install: modules @echo Your backported driver modules should be installed now. @echo Reboot. @echo + +.PHONY: clean +clean: + @$(MAKE) -f Makefile.build clean |