ARCH:=mipsel
BOARD:=ramips
-BOARDNAME:=Ralink RT288x/RT305x
-SUBTARGETS:=rt288x rt305x
-CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
-FEATURES:=squashfs
+BOARDNAME:=MediaTek Ralink MIPS
+SUBTARGETS:=mt7620 mt7621 mt76x8 rt288x rt305x rt3883
+FEATURES:=squashfs gpio
-LINUX_VERSION:=2.6.39.4
-
-include $(INCLUDE_DIR)/target.mk
-DEFAULT_PACKAGES+=\
- kmod-leds-gpio kmod-input-core kmod-input-polldev \
- kmod-input-gpio-keys-polled kmod-button-hotplug \
- kmod-rt2800-pci wpad-mini maccalc
+KERNEL_PATCHVER:=4.14
define Target/Description
- Build firmware images for Ralink RT288x/RT305x based boards.
+ Build firmware images for Ralink RT288x/RT3xxx based boards.
endef
+include $(INCLUDE_DIR)/target.mk
+DEFAULT_PACKAGES += kmod-leds-gpio kmod-gpio-button-hotplug
+
$(eval $(call BuildTarget))