tools/logparser: Add a tool which (when it matures) will help me to convert git logs to ChangeLog format.

This commit is contained in:
Gregory Nutt
2018-01-29 10:50:14 -06:00
parent dafa72edc3
commit fce345113f
3 changed files with 572 additions and 3 deletions
+15 -3
View File
@@ -1,7 +1,8 @@
############################################################################
# Makefile.host
#
# Copyright (C) 2007, 2008, 2011-2012, 2015, 2017 Gregory Nutt. All rights reserved.
# Copyright (C) 2007, 2008, 2011-2012, 2015, 2017-2018 Gregory Nutt. All
# rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,13 +71,15 @@ endif
all: b16$(HOSTEXEEXT) bdf-converter$(HOSTEXEEXT) cmpconfig$(HOSTEXEEXT) \
configure$(HOSTEXEEXT) mkconfig$(HOSTEXEEXT) mkdeps$(HOSTEXEEXT) \
mksymtab$(HOSTEXEEXT) mksyscall$(HOSTEXEEXT) mkversion$(HOSTEXEEXT) \
cnvwindeps$(HOSTEXEEXT) nxstyle$(HOSTEXEEXT) initialconfig$(HOSTEXEEXT)
cnvwindeps$(HOSTEXEEXT) nxstyle$(HOSTEXEEXT) initialconfig$(HOSTEXEEXT) \
logparser$(HOSTEXEEXT)
default: mkconfig$(HOSTEXEEXT) mksyscall$(HOSTEXEEXT) mkdeps$(HOSTEXEEXT) \
cnvwindeps$(HOSTEXEEXT)
ifdef HOSTEXEEXT
.PHONY: b16 bdf-converter cmpconfig clean configure kconfig2html mkconfig \
mkdeps cnvwindeps mksymtab mksyscall mkversion
mkdeps mksymtab mksyscall mkversion cnvwindeps nxstyle initialconfig \
logparser
else
.PHONY: clean
endif
@@ -182,6 +185,15 @@ ifdef HOSTEXEEXT
initialconfig: initialconfig$(HOSTEXEEXT)
endif
# logparser - Convert a git log to ChangeLog format.
logparser$(HOSTEXEEXT): logparser.c
$(Q) $(HOSTCC) $(HOSTCFLAGS) -o logparser$(HOSTEXEEXT) logparser.c
ifdef HOSTEXEEXT
logparser: logparser$(HOSTEXEEXT)
endif
# cnvwindeps - Convert dependences generated by a Windows native toolchain
# for use in a Cygwin/POSIX build environment
+5
View File
@@ -655,6 +655,11 @@ kconfig.bat
- option env="APPSDIR"
+ default "../apps"
logparser.c
-----------
Convert a git log to ChangeLog format.
mkimage.sh
----------
+552
View File
File diff suppressed because it is too large Load Diff