cubieboard2-base: load GMAC rather than EMAC; depends on sun7i-kernel now.
This commit is contained in:
parent
1157ce462d
commit
da3c3d76c2
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cubieboard2-base'
|
||||
pkgname=cubieboard2-base
|
||||
version=1.9
|
||||
version=2.0
|
||||
revision=1
|
||||
build_style=meta
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
@ -9,12 +9,13 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
license="Public Domain"
|
||||
|
||||
only_for_archs="armv7l"
|
||||
depends="virtual?ntp-daemon cubieboard2-uboot cubieboard2-kernel"
|
||||
depends="virtual?ntp-daemon cubieboard2-uboot sun7i-kernel"
|
||||
replaces="cubieboard2-kernel>=0"
|
||||
|
||||
do_install() {
|
||||
# Load the sunxi-emac module by default.
|
||||
# Load the sunxi-gmac module by default.
|
||||
vmkdir usr/lib/modules-load.d
|
||||
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
||||
echo sunxi-gmac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.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-cubieboard.rules
|
||||
|
|
Loading…
Reference in a new issue