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