summaryrefslogtreecommitdiff
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:38:12 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:38:12 +0200
commite266de11dcd0b2d71c445b943bef2f50258fa314 (patch)
treefd53612a762e46dbda5727f521c60b9d20b36e80 /target/linux/ramips/mt7621
parentca2d447b348acc07b74c8e624771ae7f9bb1fc9e (diff)
downloadmtk-20170518-e266de11dcd0b2d71c445b943bef2f50258fa314.zip
mtk-20170518-e266de11dcd0b2d71c445b943bef2f50258fa314.tar.gz
mtk-20170518-e266de11dcd0b2d71c445b943bef2f50258fa314.tar.bz2
target/linux/ramips: profile mt7621, cpu 24kec to 1004kc, custom modules
hw_nat MTK Hardware NAT nf-sc Netfilter shortcut mtk-i2c APSoC/MTK I2C Driver mtk-i2s I2S Driver mtk-mmc MMC/SD card support hw_wdg Kernel Mode Watchdog rdm Register Debug Module cfg80211-normal CFG80211 kernel support
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/profiles/00-default.mk15
-rw-r--r--target/linux/ramips/mt7621/target.mk6
2 files changed, 13 insertions, 8 deletions
diff --git a/target/linux/ramips/mt7621/profiles/00-default.mk b/target/linux/ramips/mt7621/profiles/00-default.mk
index fb04ba7..40a5099 100644
--- a/target/linux/ramips/mt7621/profiles/00-default.mk
+++ b/target/linux/ramips/mt7621/profiles/00-default.mk
@@ -5,14 +5,19 @@
# See /LICENSE for more information.
#
-define Profile/Default
+define Profile/MT7621
NAME:=Default Profile
PACKAGES:=\
- kmod-usb-core kmod-usb3 \
- kmod-ledtrig-usbdev
+ -swconfig -rt2x00 \
+ ated hwnat reg gpio btnd switch ethstt uci2dat mii_mgr watchdog 8021xd \
+ wireless-tools block-mount fstools kmod-scsi-generic \
+ kmod-usb-core kmod-usb3 kmod-usb-storage \
+ kmod-fs-vfat kmod-fs-ntfs kmod-nls-base kmod-nls-utf8 kmod-nls-cp936 \
+ kmod-nls-cp437 kmod-nls-cp850 kmod-nls-iso8859-1 kmod-nls-iso8859-15 kmod-nls-cp950
endef
+
define Profile/Default/Description
- Default package set compatible with most boards.
+ Basic MT7621 SoC support
endef
-$(eval $(call Profile,Default))
+$(eval $(call Profile,MT7621))
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index 830b5b0..99cd4d1 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -4,12 +4,12 @@
SUBTARGET:=mt7621
BOARDNAME:=MT7621 based boards
-ARCH_PACKAGES:=ramips_24kec
+ARCH_PACKAGES:=ramips_1004kc
FEATURES+=usb
-CPU_TYPE:=24kec
+CPU_TYPE:=1004kc
CPU_SUBTYPE:=dsp
+CFLAGS:=-Os -pipe -mmt -mips32r2 -mtune=1004kc
-DEFAULT_PACKAGES += kmod-rt2800-pci
define Target/Description
Build firmware images for Ralink MT7621 based boards.