diff options
Diffstat (limited to 'src/soc/ucb/riscv/Makefile.inc')
-rw-r--r-- | src/soc/ucb/riscv/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/ucb/riscv/Makefile.inc b/src/soc/ucb/riscv/Makefile.inc index c25a2fccdb..1072a2b32e 100644 --- a/src/soc/ucb/riscv/Makefile.inc +++ b/src/soc/ucb/riscv/Makefile.inc @@ -1,3 +1,6 @@ -romstage-y += cbmem.c +ifeq ($(CONFIG_SOC_UCB_RISCV),y) +romstage-y += cbmem.c ramstage-y += cbmem.c + +endif |