b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | hardcode version of hwinfo, this must be changed in sync |
| 2 | with 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 |