build: T= aliases ARCH= (board/SBC selection), lock StarForth to fastest
Build / build-amd64-iso (push) Failing after 29s
Build / build-aarch64-iso (push) Failing after 23s
Build / build-riscv64-img (push) Failing after 36s

T= is now shorthand for ARCH=, selecting the target board (raspi, amd64,
aarch64, riscv64). StarForth TARGET is locked to fastest — it's the only
build profile. Makefile.starkernel T= wired the same way before ARCH
normalization runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 03:43:15 +00:00
co-authored by Claude Sonnet 4.6
parent 2ae0cc2d42
commit 81caf71511
2 changed files with 17 additions and 17 deletions
+9 -9
View File
@@ -3,9 +3,10 @@
# ==============================================================================
#
# Quick Start:
# make - Standard optimized build (auto ARCH, TARGET=standard)
# make TARGET=fastest - Maximum performance build (T= is a shorthand: make T=fastest)
# make ARCH=arm64 T=fastest - Build for arm64 (e.g., Raspberry Pi 4)
# make - Build for host arch (fastest profile, always)
# make T=raspi - Build for Raspberry Pi 4 (T= is a shorthand for ARCH=)
# make T=amd64 - Build for x86_64
# make T=riscv64 - Build for RISC-V 64
# make help - Show all available targets
#
# ==============================================================================
@@ -22,14 +23,13 @@ CC = gcc
# See docs/DEVELOPER.md for installation instructions
ISABELLE ?= isabelle
# Architecture / target selection
# Architecture / target selection — T= is a shorthand for ARCH= (board/SBC)
ifdef T
ARCH ?= $(T)
endif
ARCH ?= $(shell uname -m)
ARCH := $(strip $(ARCH))
TARGET ?= standard
ifdef T
TARGET := $(T)
endif
TARGET := $(strip $(TARGET))
TARGET := fastest
# Friendly guardrail: 32-bit builds are not supported
unsupported_32bit_arches := i386 i486 i586 i686 x86 armv6 armv7 armv7l arm