aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-05-07 10:32:40 +0200
committerDamjan Marion <dmarion@me.com>2019-05-29 09:03:24 +0000
commite4218be67141311e8999059d7f848af4c2c311df (patch)
tree155e63178c7caf6ff5ae76371a16aa22ad16f7de /Makefile
parent11965c7b47670da7d02eb2c543be52008c66848e (diff)
make: git commit template
Add a commit template for tagging of commits with a type. Later tooling can then process the commit log and generate reports of new features etc. Usage: The template is automatically added to the current repository by make install-dep. (git config commit.template .git_commit_template.txt) Type: make Change-Id: I485d61f9852b7390e4f0539d737ab210f7b0723a Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a1eaa277d5..90ed59f11c0 100644
--- a/Makefile
+++ b/Makefile
@@ -321,6 +321,7 @@ else ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
else
$(error "This option currently works only on Ubuntu, Debian, RHEL, CentOS or openSUSE systems")
endif
+ git config commit.template .git_commit_template.txt
define make
@make -C $(BR) PLATFORM=$(PLATFORM) TAG=$(1) $(2)