Migrate generic bootcount to Kconfig
[people/ms/u-boot.git] / drivers / bootcount / Makefile
index a3658c1..3e1ae8c 100644 (file)
@@ -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