summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rush/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rush/Makefile.inc')
-rw-r--r--src/mainboard/google/rush/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/rush/Makefile.inc b/src/mainboard/google/rush/Makefile.inc
index 94a0e28e6d..a0bd819442 100644
--- a/src/mainboard/google/rush/Makefile.inc
+++ b/src/mainboard/google/rush/Makefile.inc
@@ -17,6 +17,16 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+# Add a handler for BCT config files
+$(call add-special-class,bct-cfg)
+bct-cfg-handler= $(eval $(obj)/generated/bct.cfg: $(1)$(2))
+
+$(obj)/generated/bct.cfg:
+ @printf " CAT $(subst $(obj)/,,$(@))\n"
+ cat $^ > $@
+
+subdirs-y += bct
+
romstage-y += romstage.c
ramstage-y += mainboard.c \ No newline at end of file