summaryrefslogtreecommitdiff
path: root/drivers/bootcount/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bootcount/Makefile')
-rw-r--r--drivers/bootcount/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bootcount/Makefile b/drivers/bootcount/Makefile
index a3658c11b8..3e1ae8c884 100644
--- a/drivers/bootcount/Makefile
+++ b/drivers/bootcount/Makefile
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += bootcount.o
+obj-$(CONFIG_BOOTCOUNT_GENERIC) += bootcount.o
obj-$(CONFIG_BOOTCOUNT_AT91) += bootcount_at91.o
obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o
obj-$(CONFIG_BOOTCOUNT_RAM) += bootcount_ram.o