sun7i-kernel: apply backported patch for kernel firmware loading.
Apply the ALARM patch fetched directly from github. This is required to make eudev>=2.1 work.
This commit is contained in:
parent
141a1eaf7f
commit
bffb5141e3
2 changed files with 6 additions and 1 deletions
|
@ -1031,6 +1031,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||||
CONFIG_FW_LOADER=y
|
CONFIG_FW_LOADER=y
|
||||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||||
CONFIG_EXTRA_FIRMWARE=""
|
CONFIG_EXTRA_FIRMWARE=""
|
||||||
|
# CONFIG_FW_LOADER_USER_HELPER is not set
|
||||||
# CONFIG_DEBUG_DRIVER is not set
|
# CONFIG_DEBUG_DRIVER is not set
|
||||||
# CONFIG_DEBUG_DEVRES is not set
|
# CONFIG_DEBUG_DEVRES is not set
|
||||||
# CONFIG_SYS_HYPERVISOR is not set
|
# CONFIG_SYS_HYPERVISOR is not set
|
||||||
|
|
|
@ -6,7 +6,7 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=sun7i-kernel
|
pkgname=sun7i-kernel
|
||||||
version=3.4.103
|
version=3.4.103
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.kernel.org"
|
homepage="http://www.kernel.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -38,6 +38,10 @@ do_configure() {
|
||||||
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Apply backported kernel firmware changes required by eudev>=2.1.
|
||||||
|
$XBPS_FETCH_CMD https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/core/linux-sun7i/0001-Backport-firmware-loader.patch
|
||||||
|
patch -p1 -i 0001-Backport-firmware-loader.patch
|
||||||
|
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
if [ -f ${FILESDIR}/config ]; then
|
if [ -f ${FILESDIR}/config ]; then
|
||||||
cp ${FILESDIR}/config .config
|
cp ${FILESDIR}/config .config
|
||||||
|
|
Loading…
Reference in a new issue