0001-Remove-modules_clean-from-clean-target.patch 920 B

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