target: add a feature flag for RTC support

SVN-Revision: 31777
master
Felix Fietkau 13 years ago
parent 1963c6b019
commit 03babf3641
  1. 3
      include/target.mk
  2. 1
      scripts/metadata.pl
  3. 3
      target/Config.in

@ -183,6 +183,9 @@ ifeq ($(DUMP),1)
ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),) ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),)
FEATURES += display FEATURES += display
endif endif
ifneq ($(CONFIG_RTC_CLASS),)
FEATURES += rtc
endif
# remove duplicates # remove duplicates
FEATURES:=$(sort $(FEATURES)) FEATURES:=$(sort $(FEATURES))

@ -161,6 +161,7 @@ sub target_config_features(@) {
/usb/ and $ret .= "\tselect USB_SUPPORT\n"; /usb/ and $ret .= "\tselect USB_SUPPORT\n";
/usbgadget/ and $ret .= "\tselect USB_GADGET_SUPPORT\n"; /usbgadget/ and $ret .= "\tselect USB_GADGET_SUPPORT\n";
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n"; /pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
/rtc/ and $ret .= "\tselect RTC_SUPPORT\n";
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n"; /squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
/jffs2/ and $ret .= "\tselect USES_JFFS2\n"; /jffs2/ and $ret .= "\tselect USES_JFFS2\n";
/ext4/ and $ret .= "\tselect USES_EXT4\n"; /ext4/ and $ret .= "\tselect USES_EXT4\n";

@ -33,6 +33,9 @@ config USB_SUPPORT
config USB_GADGET_SUPPORT config USB_GADGET_SUPPORT
bool bool
config RTC_SUPPORT
bool
config BIG_ENDIAN config BIG_ENDIAN
bool bool

Loading…
Cancel
Save