Commit ca9dcaa0 authored by Grant Likely's avatar Grant Likely
Browse files

Add support for cpu-*.mk includes

Include make fragments keyed from CONFIG_SYS_CPU. Use it to select
CROSS_COMPILE=aarch64-linux-gnu- by default on Arm v8.

Signed-off-by: Grant Likely's avatarGrant Likely <>
parent 90d7e3bd
ifeq ($(CROSS_COMPILE),)
export CROSS_COMPILE=aarch64-linux-gnu-
......@@ -100,6 +100,7 @@ include $(UBOOT_OUTPUT)/.config
# Try including platform specific configs
# Platform specific config could be SOC, Vendor, or config
-include $(CURDIR)/scripts/cpu-$(subst ",,$(CONFIG_SYS_CPU)).mk
-include $(CURDIR)/scripts/vendor-$(subst ",,$(CONFIG_SYS_VENDOR)).mk
-include $(CURDIR)/scripts/soc-$(subst ",,$(CONFIG_SYS_SOC)).mk
-include $(CURDIR)/scripts/board-$(subst ",,$(CONFIG_SYS_BOARD)).mk
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment