mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ef34f8f5b5
The Kirkwood SoCs all have an onchip RTC that can hold the time over e.g. a reboot which will help if no NTP servers are available. Create a kernel module package for the Marvell RTC, and add it to all Kirkwood devices that do not have their own discrete battery-backed RTC. Adding it to platforms with a proper RTC is just surplus. All Kirkwoods have at least one RTC so add RTC to the features list for Kirkwood as well. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
24 lines
426 B
Makefile
24 lines
426 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2009-2015 OpenWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=kirkwood
|
|
BOARDNAME:=Marvell Kirkwood
|
|
FEATURES:=rtc usb nand squashfs ramdisk
|
|
CPU_TYPE:=xscale
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=5.15
|
|
KERNEL_TESTING_PATCHVER:=6.1
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
KERNELNAME:=zImage dtbs
|
|
|
|
DEFAULT_PACKAGES += uboot-envtools kmod-usb2
|
|
|
|
$(eval $(call BuildTarget))
|