ramips: enable nand support for mt7621
[openwrt/staging/florian.git] / target / linux / ramips / mt7621 / target.mk
index 1929d41fc17afe066a45b2e64dc878ebba509bed..edf26203d03af17c147c4f314475594529875cf6 100644 (file)
@@ -4,11 +4,12 @@
 
 SUBTARGET:=mt7621
 BOARDNAME:=MT7621 based boards
-ARCH_PACKAGES:=ramips_1004kc
-FEATURES+=usb
+FEATURES+=usb rtc nand
 CPU_TYPE:=1004kc
-CPU_SUBTYPE:=dsp
-CFLAGS:=-Os -pipe -mmt -mips32r2 -mtune=1004kc
+
+DEFAULT_PACKAGES += kmod-mt76
+
+KERNEL_PATCHVER:=4.4
 
 define Target/Description
        Build firmware images for Ralink MT7621 based boards.