mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
fe302d472a
Althought most of the switches aren't routers, they can be used as such, so let's add some of the packages from the router's DEVICE_TYPE. While at it, remove swconfig package which is not needed on DSA targets. Acked-by: John Crispin <john@phrozen.org> Signed-off-by: Petr Štetiar <ynezz@true.cz>
28 lines
626 B
Makefile
28 lines
626 B
Makefile
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=mips
|
|
CPU_TYPE:=4kec
|
|
BOARD:=rtl838x
|
|
BOARDNAME:=Realtek MIPS
|
|
DEVICE_TYPE:=basic
|
|
FEATURES:=ramdisk squashfs
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=5.4
|
|
|
|
define Target/Description
|
|
Build firmware images for Realtek RTL838x based boards.
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
FEATURES := $(filter-out mips16,$(FEATURES))
|
|
|
|
DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
|
|
dnsmasq firewall ip6tables iptables odhcp6c odhcpd-ipv6only
|
|
|
|
$(eval $(call BuildTarget))
|