mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
27fbae4c5a
The realtek target is not a router, but basic device, see DEVICE_TYPE.
The basic device type does not come with firewall by default, see
include/target.mk for details. The realtek target extended
DEFAULT_PACKAGES manually with firewall.
This changes the defaults to take firewall4 and nftables instead of
firewall and iptables. This also adds the additional package
kmod-nft-offload.
The only difference to the router type is the missing ppp,
ppp-mod-pppoe, dnsmasq and odhcpd-ipv6only package.
This increases the compressed image size by about 422KBytes.
Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 469030659c
)
25 lines
525 B
Makefile
25 lines
525 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=mips
|
|
BOARD:=realtek
|
|
BOARDNAME:=Realtek MIPS
|
|
DEVICE_TYPE:=basic
|
|
FEATURES:=ramdisk squashfs
|
|
SUBTARGETS:=rtl838x rtl839x rtl930x rtl931x
|
|
|
|
KERNEL_PATCHVER:=5.10
|
|
|
|
define Target/Description
|
|
Build firmware images for Realtek RTL83xx based boards.
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
|
|
firewall4 nftables kmod-nft-offload odhcp6c \
|
|
ip-full ip-bridge tc
|
|
|
|
$(eval $(call BuildTarget))
|