summaryrefslogtreecommitdiff
path: root/drivers/pch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pch/Makefile')
-rw-r--r--drivers/pch/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pch/Makefile b/drivers/pch/Makefile
index 8ea6b7852a..d5de3e48be 100644
--- a/drivers/pch/Makefile
+++ b/drivers/pch/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
obj-y += pch-uclass.o
-obj-y += pch7.o
-obj-y += pch9.o
+obj-$(CONFIG_X86_PCH7) += pch7.o
+obj-$(CONFIG_X86_PCH9) += pch9.o
obj-$(CONFIG_SANDBOX) += sandbox_pch.o