target: add a feature flag for RTC support
[openwrt/openwrt.git] / include / target.mk
index 61ae108d547fe99f497996ef09204b7095fa2aba..61cdf0640efa8aa969cd596362b421b05c3bea67 100644 (file)
@@ -183,6 +183,9 @@ ifeq ($(DUMP),1)
     ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),)
       FEATURES += display
     endif
+    ifneq ($(CONFIG_RTC_CLASS),)
+      FEATURES += rtc
+    endif
 
     # remove duplicates
     FEATURES:=$(sort $(FEATURES))