blob: 96f85fd99cfb563f8e825bbd05d1a3de9cbe69c9 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001hardcode version of hwinfo, this must be changed in sync
2with hwinfo version changes when updating the package
3--- a/Makefile
4+++ b/Makefile
5@@ -12,12 +12,8 @@ export SO_LIBS
6
7 GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
8 GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)
9-BRANCH := $(shell [ -d .git ] && git branch | perl -ne 'print $$_ if s/^\*\s*//')
10-ifdef HWINFO_VERSION
11-VERSION := $(shell echo ${HWINFO_VERSION} > VERSION; cat VERSION)
12-else
13-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
14-endif
15+BRANCH := master
16+VERSION := $(shell echo 21.71 > VERSION; cat VERSION)
17 PREFIX := hwinfo-$(VERSION)
18
19 include Makefile.common