mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
GCE: Don't .error on unsupported targets
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
We ingest Makefile.gce even when we're not trying to create GCE images
so we don't want to .error here. Instead, set GCE_ARCH to a dummy
value which should make the problem clear to anyone who attempts to
create GCE images on an unsupported architecture.
Reported by: Jenkins
Fixes: 0a8ecca4e3 ("GCE: Specify the architecture of images")
This commit is contained in:
parent
0a8ecca4e3
commit
787d09753f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ GCE_ARCH= X86_64
|
|||
.elif ${TARGET_ARCH} == "aarch64"
|
||||
GCE_ARCH= ARM64
|
||||
.else
|
||||
.error "Unsupported TARGET_ARCH for GCE: ${TARGET_ARCH}. Must be amd64 or aarch64."
|
||||
GCE_ARCH= UNSUPPORTED_IN_GCE
|
||||
.endif
|
||||
|
||||
.if !defined(GCE_FAMILY) || empty(GCE_FAMILY)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue