meson-s4t7: kernel: Disable git hook modification in kernel Makefile
This commit is contained in:
parent
222b4ea987
commit
a9759b2c3c
@ -0,0 +1,33 @@
|
||||
From e2de477ae718ae0cefcb2ad7ee65743b33bea999 Mon Sep 17 00:00:00 2001
|
||||
From: Gunjan Gupta <viraniac@gmail.com>
|
||||
Date: Fri, 26 Jan 2024 23:19:30 +0000
|
||||
Subject: [PATCH] Makefile: don't try to modify git hooks
|
||||
|
||||
---
|
||||
Makefile | 8 -----------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 5fdf7c5ca5cd..a95777682e60 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2106,16 +2106,8 @@ endif # config-build
|
||||
endif # mixed-build
|
||||
endif # need-sub-make
|
||||
|
||||
-ifdef CONFIG_AMLOGIC_DRIVER
|
||||
PHONY += FORCE
|
||||
FORCE:
|
||||
- $(Q)-cp $(srctree)/scripts/amlogic/commit-msg $(srctree)/.git/hooks/
|
||||
- $(Q)-cp $(srctree)/scripts/amlogic/commit-msg $(srctree)/$(COMMON_DRIVERS_DIR)/.git/hooks/
|
||||
- $(Q)-chmod +x $(srctree)/.git/hooks/commit-msg $(srctree)/$(COMMON_DRIVERS_DIR)/.git/hooks/commit-msg
|
||||
-else
|
||||
-PHONY += FORCE
|
||||
-FORCE:
|
||||
-endif
|
||||
|
||||
# Declare the contents of the PHONY variable as phony. We keep that
|
||||
# information in a variable so we can use it in if_changed and friends.
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user