[bootlin/training-materials updates] master: lab-data: linux-kernel: add clean target (228ce406)

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Nov 25 21:48:13 CET 2020


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/228ce406277acb4eafbd64ddc2bd788db4c2c601

>---------------------------------------------------------------

commit 228ce406277acb4eafbd64ddc2bd788db4c2c601
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Wed Nov 25 21:48:13 2020 +0100

    lab-data: linux-kernel: add clean target
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


>---------------------------------------------------------------

228ce406277acb4eafbd64ddc2bd788db4c2c601
 lab-data/linux-kernel/modules/nfsroot/root/debugging/Makefile | 3 +++
 lab-data/linux-kernel/modules/nfsroot/root/hello/Makefile     | 3 +++
 lab-data/linux-kernel/modules/nfsroot/root/nunchuk/Makefile   | 3 +++
 lab-data/linux-kernel/modules/nfsroot/root/serial/Makefile    | 3 +++
 4 files changed, 12 insertions(+)

diff --git a/lab-data/linux-kernel/modules/nfsroot/root/debugging/Makefile b/lab-data/linux-kernel/modules/nfsroot/root/debugging/Makefile
index 23c6f0f1..d211fbb4 100644
--- a/lab-data/linux-kernel/modules/nfsroot/root/debugging/Makefile
+++ b/lab-data/linux-kernel/modules/nfsroot/root/debugging/Makefile
@@ -4,4 +4,7 @@ else
 KDIR := $(HOME)/linux-kernel-labs/src/linux
 all:
 	$(MAKE) -C $(KDIR) M=$$PWD
+
+clean:
+	$(MAKE) -C $(KDIR) M=$$PWD clean
 endif
diff --git a/lab-data/linux-kernel/modules/nfsroot/root/hello/Makefile b/lab-data/linux-kernel/modules/nfsroot/root/hello/Makefile
index 4bdb4b66..b27dc734 100644
--- a/lab-data/linux-kernel/modules/nfsroot/root/hello/Makefile
+++ b/lab-data/linux-kernel/modules/nfsroot/root/hello/Makefile
@@ -4,4 +4,7 @@ else
 KDIR := $(HOME)/linux-kernel-labs/src/linux
 all:
 	$(MAKE) -C $(KDIR) M=$$PWD
+
+clean:
+	$(MAKE) -C $(KDIR) M=$$PWD clean
 endif
diff --git a/lab-data/linux-kernel/modules/nfsroot/root/nunchuk/Makefile b/lab-data/linux-kernel/modules/nfsroot/root/nunchuk/Makefile
index 72d2b833..038809a0 100644
--- a/lab-data/linux-kernel/modules/nfsroot/root/nunchuk/Makefile
+++ b/lab-data/linux-kernel/modules/nfsroot/root/nunchuk/Makefile
@@ -4,4 +4,7 @@ else
 KDIR := $(HOME)/linux-kernel-labs/src/linux
 all:
 	$(MAKE) -C $(KDIR) M=$$PWD
+
+clean:
+	$(MAKE) -C $(KDIR) M=$$PWD clean
 endif
diff --git a/lab-data/linux-kernel/modules/nfsroot/root/serial/Makefile b/lab-data/linux-kernel/modules/nfsroot/root/serial/Makefile
index 8e92e0fa..e4872e31 100644
--- a/lab-data/linux-kernel/modules/nfsroot/root/serial/Makefile
+++ b/lab-data/linux-kernel/modules/nfsroot/root/serial/Makefile
@@ -4,4 +4,7 @@ else
 KDIR := $(HOME)/linux-kernel-labs/src/linux
 all:
 	$(MAKE) -C $(KDIR) M=$$PWD
+
+clean:
+	$(MAKE) -C $(KDIR) M=$$PWD clean
 endif




More information about the training-materials-updates mailing list