summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--include/config.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ae3dc8c14a..70875ce540 100644
--- a/Makefile
+++ b/Makefile
@@ -304,7 +304,10 @@ deps := $(ro-deps) $(rw-deps) $(deps-y)
$(config): $(out)/$(PROJECT).bin
@printf '%s=y\n' $(_tsk_cfg) $(_flag_cfg) > $@
-def_all_deps:=utils ro rw notice $(config) $(PROJECT_EXTRA) size
+def_all_deps:=$(config) $(PROJECT_EXTRA) notice rw size utils
+ifeq ($(CONFIG_FW_INCLUDE_RO),y)
+def_all_deps+=ro
+endif
all_deps?=$(def_all_deps)
all: $(all_deps)
diff --git a/include/config.h b/include/config.h
index 116b8d962c..bc958572fb 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1772,7 +1772,7 @@
/*
* Board Image ec.bin contains a RO firmware. If not defined, the image will
- * only contain the RW firmware. The RO firmware comes from another board.
+ * only contain the RW firmware.
*/
#define CONFIG_FW_INCLUDE_RO