Makefile 577 B

123456789101112131415161718192021222324252627
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. include $(TOPDIR)/rules.mk
  3. ARCH:=mips
  4. CPU_TYPE:=4kec
  5. BOARD:=realtek
  6. BOARDNAME:=Realtek MIPS
  7. DEVICE_TYPE:=basic
  8. FEATURES:=ramdisk squashfs
  9. SUBTARGETS:=generic
  10. KERNEL_PATCHVER:=5.4
  11. define Target/Description
  12. Build firmware images for Realtek RTL83xx based boards.
  13. endef
  14. include $(INCLUDE_DIR)/target.mk
  15. FEATURES := $(filter-out mips16,$(FEATURES))
  16. DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
  17. dnsmasq firewall ip6tables iptables odhcp6c odhcpd-ipv6only \
  18. ip-full ip-bridge tc
  19. $(eval $(call BuildTarget))