mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 01:03:20 +02:00
target: add a feature flag for RTC support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cb3ba68fe6
commit
34f1bc2fb3
@ -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))
|
||||
|
@ -161,6 +161,7 @@ sub target_config_features(@) {
|
||||
/usb/ and $ret .= "\tselect USB_SUPPORT\n";
|
||||
/usbgadget/ and $ret .= "\tselect USB_GADGET_SUPPORT\n";
|
||||
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||
/rtc/ and $ret .= "\tselect RTC_SUPPORT\n";
|
||||
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
|
||||
/jffs2/ and $ret .= "\tselect USES_JFFS2\n";
|
||||
/ext4/ and $ret .= "\tselect USES_EXT4\n";
|
||||
|
@ -33,6 +33,9 @@ config USB_SUPPORT
|
||||
config USB_GADGET_SUPPORT
|
||||
bool
|
||||
|
||||
config RTC_SUPPORT
|
||||
bool
|
||||
|
||||
config BIG_ENDIAN
|
||||
bool
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user