mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 05:58:03 +01:00
build: Move protonsdk_version default value to configure.sh.
This commit is contained in:
parent
a8b3580679
commit
0e897ff8b7
4 changed files with 17 additions and 11 deletions
8
Makefile
8
Makefile
|
|
@ -41,11 +41,15 @@ ifneq ($(unstripped),)
|
|||
DEPLOY_DIR := $(DEPLOY_DIR)_unstripped
|
||||
endif
|
||||
|
||||
protonsdk_version := 0.20210126.1-1
|
||||
CONFIGURE_CMD := ../proton/configure.sh \
|
||||
--proton-sdk-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version) \
|
||||
--build-name="$(_build_name)"
|
||||
|
||||
ifneq ($(protonsdk_version),)
|
||||
CONFIGURE_CMD += --proton-sdk-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version)
|
||||
else
|
||||
protonsdk_version := $(shell grep '^arg_protonsdk_image=' configure.sh|xargs echo|cut -d: -f2)
|
||||
endif
|
||||
|
||||
|
||||
all: help
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue