mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-19 10:48:00 -04:00
0ae77b95ef
Signed-off-by: fangzhiyi18 <fangzhiyi1@huawei.com>
8 lines
309 B
Makefile
8 lines
309 B
Makefile
TOP := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
|
|
NAME=liburing
|
|
SPECFILE=$(TOP)/$(NAME).spec
|
|
VERSION=$(shell awk '/Version:/ { print $$2 }' $(SPECFILE))
|
|
VERSION_MAJOR=$(shell echo $(VERSION) | cut -d. -f1)
|
|
VERSION_MINOR=$(shell echo $(VERSION) | cut -d. -f2)
|
|
TAG = $(NAME)-$(VERSION)
|