[PATCH v2] kmod: Add distclean rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Kiszka wrote:
> --- a/Makefile
> +++ b/Makefile
> @@ -68,3 +68,6 @@ rpm:	all
>  
>  clean:
>  	$(MAKE) -C $(KERNELDIR) M=`pwd` $@
> +
> +distclean:
> +	rm -f config.kbuild config.mak

This one is "cleaner":

--------->

Remove the configure output config.kbuild and config.mak via distclean.

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---

 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index dad5f0b..a4c59c9 100644
--- a/Makefile
+++ b/Makefile
@@ -68,3 +68,6 @@ rpm:	all
 
 clean:
 	$(MAKE) -C $(KERNELDIR) M=`pwd` $@
+
+distclean: clean
+	rm -f config.kbuild config.mak
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux