From e44301c819d42e5e286ef519d277fc4436323937 Mon Sep 17 00:00:00 2001 From: necrophcodr Date: Mon, 19 Jan 2015 14:36:58 +0100 Subject: [PATCH] bananapi-base: Add sunxi-gmac module for ethernet support. --- srcpkgs/bananapi-base/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/bananapi-base/template b/srcpkgs/bananapi-base/template index 40bf39b217e..418ab2b6cb8 100644 --- a/srcpkgs/bananapi-base/template +++ b/srcpkgs/bananapi-base/template @@ -14,6 +14,9 @@ depends="virtual?ntp-daemon sun7i-kernel bananapi-uboot" hostmakedepends="sunxi-tools" do_install() { + # Load the sunxi-gmac module by default. + vmkdir usr/lib/modules-load.d + echo sunxi-gmac > ${DESTDIR}/usr/lib/modules-load.d/bpi.conf # Set proper perms to some devices. vmkdir usr/lib/udev/rules.d echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-bpi-video.rules