aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/modules.mk
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-01-04 17:33:44 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-01-04 17:33:44 +0000
commit815ceabd9dbbae62b30edad7b9e2923d6624fdfb (patch)
tree29e9377de897986a4db66838ded770661b8e96d7 /target/linux/sunxi/modules.mk
parent9712b2d6fa5759cb6573c30bc623821e232e3e60 (diff)
downloadupstream-815ceabd9dbbae62b30edad7b9e2923d6624fdfb.tar.gz
upstream-815ceabd9dbbae62b30edad7b9e2923d6624fdfb.tar.bz2
upstream-815ceabd9dbbae62b30edad7b9e2923d6624fdfb.zip
sunxi: emac changes - move emac into module - add into profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39200
Diffstat (limited to 'target/linux/sunxi/modules.mk')
-rw-r--r--target/linux/sunxi/modules.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk
index 1a54677046..9a4782ddf2 100644
--- a/target/linux/sunxi/modules.mk
+++ b/target/linux/sunxi/modules.mk
@@ -54,3 +54,15 @@ define KernelPackage/ata-sunxi/description
endef
$(eval $(call KernelPackage,ata-sunxi))
+
+define KernelPackage/sun4i-emac
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=AllWinner EMAC Ethernet support
+ DEPENDS:=@TARGET_sunxi
+ KCONFIG:=CONFIG_SUN4I_EMAC
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/allwinner/sun4i-emac.ko
+ AUTOLOAD:=$(call AutoProbe,sun4i-emac)
+endef
+
+$(eval $(call KernelPackage,sun4i-emac))
+