2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2020-09-13 07:06:13 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=mips
|
|
|
|
CPU_TYPE:=4kec
|
2020-11-26 11:02:21 +00:00
|
|
|
BOARD:=realtek
|
2020-09-13 07:06:13 +00:00
|
|
|
BOARDNAME:=Realtek MIPS
|
2020-10-02 23:11:17 +00:00
|
|
|
DEVICE_TYPE:=basic
|
2020-09-13 07:06:13 +00:00
|
|
|
FEATURES:=ramdisk squashfs
|
2020-10-19 12:47:45 +00:00
|
|
|
SUBTARGETS:=generic
|
2020-09-13 07:06:13 +00:00
|
|
|
|
|
|
|
KERNEL_PATCHVER:=5.4
|
|
|
|
|
|
|
|
define Target/Description
|
2020-11-26 11:02:21 +00:00
|
|
|
Build firmware images for Realtek RTL83xx based boards.
|
2020-09-13 07:06:13 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
2020-10-19 12:47:45 +00:00
|
|
|
FEATURES := $(filter-out mips16,$(FEATURES))
|
|
|
|
|
2020-11-09 17:15:53 +00:00
|
|
|
DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
|
2020-11-28 10:50:43 +00:00
|
|
|
dnsmasq firewall ip6tables iptables odhcp6c odhcpd-ipv6only \
|
|
|
|
ip-full ip-bridge tc
|
2020-09-13 07:06:13 +00:00
|
|
|
|
|
|
|
$(eval $(call BuildTarget))
|