aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/oxford/oxpcie/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/oxford/oxpcie/Makefile.inc')
-rw-r--r--src/drivers/oxford/oxpcie/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/oxford/oxpcie/Makefile.inc b/src/drivers/oxford/oxpcie/Makefile.inc
index 6cc29c4d13..1922425fd9 100644
--- a/src/drivers/oxford/oxpcie/Makefile.inc
+++ b/src/drivers/oxford/oxpcie/Makefile.inc
@@ -1,5 +1,4 @@
-ramstage-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie.c
-
ifeq ($(CONFIG_CONSOLE_SERIAL8250MEM),y)
-romstage-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie_early.c
+ramstage-y += oxpcie_early.c oxpcie.c
+romstage-y += oxpcie_early.c
endif