-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 704 Bytes
/
Copy pathMakefile
File metadata and controls
19 lines (15 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARCHES := x86 arm
# Keep each variant/architecture pair as a leaf target so the shared build and
# release workflows can fan them out across separate runners.
TARGETS := generic-x86 generic-arm nvidia-x86 amd-x86
# overrides to s9pk.mk must precede the include statement
include node_modules/@start9labs/start-sdk/s9pk.mk
.PHONY += generic generic-x86 generic-arm nvidia nvidia-x86 amd amd-x86
# Aggregate targets remain available for local variant builds.
generic: generic-x86 generic-arm
nvidia: nvidia-x86
amd: amd-x86
# Leaf targets build one package each. NVIDIA and AMD remain x86-only.
generic-%:; VARIANT=generic $(MAKE) $*
nvidia-%:; VARIANT=nvidia $(MAKE) $*
amd-%:; VARIANT=amd $(MAKE) $*