| commit | 7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31 | [log] [tgz] |
|---|---|---|
| author | Jamin Lin <jamin_lin@aspeedtech.com> | Mon Jul 28 15:30:07 2025 +0800 |
| committer | Jamin Lin <jamin_lin@aspeedtech.com> | Mon Jul 28 15:30:07 2025 +0800 |
| tree | ba4da5563b80867b199f62732289e6686507df17 | |
| parent | f9eb0bb57decbab860a81712c56132c2102fa98e [diff] |
ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation The Makefile previously used CC ?= $(CROSS_COMPILE)gcc, but this is ineffective because make always sets the CC variable by default. As a result, the intended default for CC was ignored and cross-compilation could silently fail or misbehave. This patch removes the conditional assignment operator ?= for CC, OBJCOPY, and OBJDUMP, making them unconditionally defined from the CROSS_COMPILE prefix as done in other vbootrom subdirectories. This simplifies usage and makes the build work without requiring users to manually specify CC on the command line. Now users can simply run make without needing to export or override variables. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
This repository contains simple Boot ROMs for Nuvoton and ASPEED based BMC images that are intended to be used by QEMU when emulating NPCM and ASPEED based machines.
npcm7xx: This subdir contains Boot ROM for NPCM7XX, a 32-bit ARM image. npcm8xx: This subdir contains Boot ROM for NPCM8XX, a 64-bit ARM image. ast27x0: This subdir contains Boot ROM for AST27X0, a 64-bit ARM image.