aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-07-28 15:30:07 +0800
committerJamin Lin <jamin_lin@aspeedtech.com>2025-07-28 15:30:07 +0800
commit7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31 (patch)
treeba4da5563b80867b199f62732289e6686507df17 /lib
parentf9eb0bb57decbab860a81712c56132c2102fa98e (diff)
downloadvbootrom-7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31.zip
vbootrom-7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31.tar.gz
vbootrom-7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31.tar.bz2
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions