summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalaji Manigandan B <balaji.manigandan@intel.com>2019-07-03 21:11:20 +0530
committerMartin Roth <martinroth@google.com>2019-07-17 16:05:04 +0000
commit275f2e22a1a441d48a12bfe39ef3ce960efd7a04 (patch)
tree0fc6fa330abe42ed7e3525ed39ea972ebcf857a9
parent5033d6ce51cbc5113c061acb7852d736931edb8d (diff)
site-local: Allow to read Makefile.inc w/o .config
Makefile.inc allows extending site-specific configurations. This change is to allow make utility to list supported options, irrespective of a .config file availability. Change-Id: I7c968c773c368ea74689b9741c4c978c35110187 Signed-off-by: Balaji Manigandan B <balaji.manigandan@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 45b0bc5f8c..dfc70e06c6 100644
--- a/Makefile
+++ b/Makefile
@@ -129,11 +129,12 @@ NOMKDIR:=1
endif
endif
+-include $(TOPLEVEL)/site-local/Makefile.inc
+
ifeq ($(NOCOMPILE),1)
include $(TOPLEVEL)/Makefile.inc
include $(TOPLEVEL)/payloads/Makefile.inc
include $(TOPLEVEL)/util/testing/Makefile.inc
--include $(TOPLEVEL)/site-local/Makefile.inc
real-all:
@echo "Error: Expected config file ($(DOTCONFIG)) not present." >&2
@echo "Please specify a config file or run 'make menuconfig' to" >&2