Make Mac SDK into a regular depends package

This commit is contained in:
Howard Chu 2022-05-05 16:29:11 +01:00
parent e81ab9bc2c
commit 7ea1e214c5
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
11 changed files with 17 additions and 54 deletions

View file

@ -59,9 +59,6 @@ def rebuild():
for i in args.os:
if i is 'm' and args.nomac:
continue
os_name = platforms[i][0]
tag_name = platforms[i][1]
suffix = platforms[i][2]
@ -160,13 +157,6 @@ def main():
if not 'LXC_GUEST_IP' in os.environ.keys():
os.environ['LXC_GUEST_IP'] = '10.0.2.5'
# Disable MacOS build if no SDK found
args.nomac = False
if 'm' in args.os and not os.path.isfile('builder/inputs/MacOSX11.1.sdk.tar.xz'):
if args.build:
print('Cannot build for MacOS, SDK does not exist. Will build for other OSes')
args.nomac = True
script_name = os.path.basename(sys.argv[0])
# Signer and version shouldn't be empty
if args.signer == '':