aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/basecode
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/basecode')
-rw-r--r--src/soc/intel/common/basecode/Kconfig12
-rw-r--r--src/soc/intel/common/basecode/Makefile.inc7
2 files changed, 19 insertions, 0 deletions
diff --git a/src/soc/intel/common/basecode/Kconfig b/src/soc/intel/common/basecode/Kconfig
new file mode 100644
index 0000000000..68aea15671
--- /dev/null
+++ b/src/soc/intel/common/basecode/Kconfig
@@ -0,0 +1,12 @@
+config SOC_INTEL_COMMON_BASECODE
+ bool
+ help
+ Common coreboot stages for Intel platform
+
+if SOC_INTEL_COMMON_BASECODE
+
+comment "Intel platform Common coreboot stage files"
+source "src/soc/intel/common/basecode/*/Kconfig"
+source "src/soc/intel/common/basecode/*/*/Kconfig"
+
+endif
diff --git a/src/soc/intel/common/basecode/Makefile.inc b/src/soc/intel/common/basecode/Makefile.inc
new file mode 100644
index 0000000000..7fdd0e544b
--- /dev/null
+++ b/src/soc/intel/common/basecode/Makefile.inc
@@ -0,0 +1,7 @@
+ifeq ($(CONFIG_SOC_INTEL_COMMON_BASECODE),y)
+
+subdirs-y += ./*
+
+CPPFLAGS_common += -I$(src)/soc/intel/common/basecode/include/
+
+endif