File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
kernel_tracing_library/src Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1- 1.2.62
1+ 1.2.63
22
33# Change log
4+ ## 1.2.63
5+ - fix: kernel Makefile now generates version header automatically
46## 1.2.62
57- fix: kernel module build warnings
68## 1.2.61
Original file line number Diff line number Diff line change @@ -7,9 +7,18 @@ M ?= $(PWD)
77INSTALL_MOD_PATH ?= /
88INSTALL_HDR_PATH ?= $(INSTALL_MOD_PATH ) /usr/include/kernel/
99
10+ # Paths relative to kernel_tracing_library/src/
11+ ROOT_DIR := $(M ) /../..
12+ VERSION_SCRIPT := $(ROOT_DIR ) /cmake/gen_version_header.sh
13+ VERSION_TEMPLATE := $(ROOT_DIR ) /cmake/version.h.template
14+ VERSION_OUTPUT := $(ROOT_DIR ) /tracing_library/include/CommonLowLevelTracingKit/version.gen.h
15+
1016all : modules
1117
12- modules :
18+ $(VERSION_OUTPUT ) : $(VERSION_TEMPLATE ) $(ROOT_DIR ) /VERSION.md
19+ $(VERSION_SCRIPT ) -t $(VERSION_TEMPLATE ) -o $(VERSION_OUTPUT )
20+
21+ modules : $(VERSION_OUTPUT )
1322 $(MAKE ) -C $(KERNEL_SRC ) M=$(M ) modules
1423
1524modules_install :
You can’t perform that action at this time.
0 commit comments