summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index c3d95c243f..8d8d2631b2 100644
--- a/include/config.h
+++ b/include/config.h
@@ -18,6 +18,14 @@
#ifndef __CROS_EC_CONFIG_H
#define __CROS_EC_CONFIG_H
+#ifdef INCLUDE_ENV_CONFIG
+/*
+ * When building for an EC target, pick up the .h file which allows to
+ * keep track of changing make variables.
+ */
+#include "env_config.h"
+#endif
+
/*
* All config options are listed alphabetically and described here.
*