summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.mk b/Makefile.mk
index 3cfd97c53e..301a3bc835 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -96,6 +96,9 @@ PHONY+= clean-abuild coreboot check-style build_complete
#######################################################################
# root source directories of coreboot
+# site-local Makefile.mk must go first to override default locations (for binaries etc.)
+subdirs-y := site-local
+
subdirs-y := src/lib src/commonlib/ src/console src/device src/acpi src/superio/common
subdirs-$(CONFIG_EC_ACPI) += src/ec/intel
subdirs-y += src/ec/acpi $(wildcard src/ec/*/*) $(wildcard src/southbridge/*/*)
@@ -112,8 +115,6 @@ subdirs-y += src/mainboard/$(MAINBOARDDIR)
subdirs-y += src/security
subdirs-y += payloads payloads/external
subdirs-$(CONFIG_SBOM) += src/sbom
-
-subdirs-y += site-local
subdirs-y += util/checklist util/testing
#######################################################################