From aef6ff821bba386b2f9dce4889f175d5966aef80 Mon Sep 17 00:00:00 2001 From: Christopher Norris Date: Mon, 16 Sep 2019 18:59:45 +0000 Subject: [PATCH 1/2] Fix clean kernel command to support more versions --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index f06d00b..5d37d63 100644 --- a/makefile +++ b/makefile @@ -44,7 +44,7 @@ clean: .PHONY: clean_kernel clean_kernel: - rm -rf build/linux-4.* + rm -rf build/linux-[0-9].* .PHONY: clean_ath clean_ath: From f5b89c71df44aab90d8edce6fc6d2824a258b32a Mon Sep 17 00:00:00 2001 From: Christopher Norris Date: Thu, 19 Sep 2019 21:57:09 +0000 Subject: [PATCH 2/2] Be specific about cleaning kernels --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 5d37d63..4062e66 100644 --- a/makefile +++ b/makefile @@ -44,7 +44,7 @@ clean: .PHONY: clean_kernel clean_kernel: - rm -rf build/linux-[0-9].* + rm -rf build/linux-$(KVER) .PHONY: clean_ath clean_ath: