1From fd0a4ee201b5c7b24da79dcd346ac121978951a0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 29 Mar 2020 19:58:36 -0700
4Subject: [PATCH] Remove modules_clean from clean target
5
6This is needed when building applications (w/o module)
7Since OE will run 'make clean' before reconfiguring, this
8will try to run module_clean and will wrongly try to look for removing
9modules from /lib/modules
10
11Upstream-Status: Inappropriate [ OE-Specific ]
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile b/Makefile
19index c60863f..fc897d5 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -23,7 +23,7 @@ all: modules nbcat mkemlog
23
24 install: modules_install nbcat_install mkemlog_install
25
26-clean: modules_clean nbcat_clean mkemlog_clean
27+clean: nbcat_clean mkemlog_clean
28
29 modules:
30 	$(MAKE) -C $(KDIR) M=$(CURDIR) modules
31--
322.26.0
33
34