02eefe26fb748b76e1dbfa82e4bdbf9b6438eeb7
[openwrt/openwrt.git] / target / linux / realtek / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4 include $(TOPDIR)/rules.mk
5
6 ARCH:=mips
7 CPU_TYPE:=4kec
8 BOARD:=realtek
9 BOARDNAME:=Realtek MIPS
10 DEVICE_TYPE:=basic
11 FEATURES:=ramdisk squashfs
12 SUBTARGETS:=generic
13
14 KERNEL_PATCHVER:=5.4
15
16 define Target/Description
17 Build firmware images for Realtek RTL83xx based boards.
18 endef
19
20 include $(INCLUDE_DIR)/target.mk
21
22 FEATURES := $(filter-out mips16,$(FEATURES))
23
24 DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
25 dnsmasq firewall ip6tables iptables odhcp6c odhcpd-ipv6only \
26 ip-full ip-bridge tc
27
28 $(eval $(call BuildTarget))