bananapi-base: Add sunxi-gmac module for ethernet support.
This commit is contained in:
parent
d63771b540
commit
e44301c819
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ depends="virtual?ntp-daemon sun7i-kernel bananapi-uboot"
|
||||||
hostmakedepends="sunxi-tools"
|
hostmakedepends="sunxi-tools"
|
||||||
|
|
||||||
do_install() {
|
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.
|
# Set proper perms to some devices.
|
||||||
vmkdir usr/lib/udev/rules.d
|
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
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-bpi-video.rules
|
||||||
|
|
Loading…
Reference in a new issue