trying mrfixit 5.4 source with mainline config

parent 46543b00
......@@ -3,23 +3,23 @@
# Maintainer: Dan Johansen <strit@manjaro.org>
pkgbase=linux-pinebookpro
_srcname=linux-mainline-kernel
_srcname=mainline-kernel
_kernelname=${pkgbase#linux}
_desc="AArch64 Pinebook Pro kernel"
pkgver=5.4.0
pkgrel=0.1
pkgrel=0.2
arch=('aarch64')
url="https://github.com/ayufan-rock64/linux-mainline-kernel"
url="https://github.com/mrfixit2001/mainline-kernel"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
options=('!strip')
_commit=f8639cacc3989a9743ed04eb3a51eb2858174a42
source=("https://github.com/ayufan-rock64/linux-mainline-kernel/archive/${_commit}.zip"
_commit=a77d78c120aad444a96df2090221d2cb68b1a979
source=("https://github.com/mrfixit2001/mainline-kernel/archive/${_commit}.zip"
#"http://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
'0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch'
'0002-arm64-dts-rockchip-disable-pwm0-on-rk3399-firefly.patch'
'0003-arm64-dts-rockchip-add-usb3-controller-node-for-RK33.patch'
'0004-arm64-dts-rockchip-enable-usb3-nodes-on-rk3328-rock6.patch'
#'0002-arm64-dts-rockchip-disable-pwm0-on-rk3399-firefly.patch'
#'0003-arm64-dts-rockchip-add-usb3-controller-node-for-RK33.patch'
#'0004-arm64-dts-rockchip-enable-usb3-nodes-on-rk3328-rock6.patch'
#'0001-arm64-dts-rockchip-remove-capacity-dmips-rk3399.patch'
#'0002-arm64-dts-rockchip-add-pcie-node-rockpi4.patch'
#'0003-arm64-dts-rockchip-modify-pcie-node-rockpro64.patch'
......@@ -43,11 +43,8 @@ source=("https://github.com/ayufan-rock64/linux-mainline-kernel/archive/${_commi
'0011-bootsplash.patch'
'0012-bootsplash.patch'
'0013-bootsplash.patch')
md5sums=('418e69f6da3ed274135a1879c8dd4109'
md5sums=('9be8a437bbb2eb64ddafe1da7b687754'
'6ee347975dca719ecd63a846cc5983b2'
'7005141e542864b4e3cf6141ff642cf9'
'9986e28b5c2c3c62a5c3bb53abd94640'
'552ea82c3a5e14ca9149da8c4b4d5a82'
'b87552062e9a61e5c100a59c7eefcfb7'
'7f1a96e24f5150f790df94398e9525a3'
'61c5ff73c136ed07a7aadbf58db3d96a'
......@@ -71,7 +68,7 @@ md5sums=('418e69f6da3ed274135a1879c8dd4109'
prepare() {
cd ${_srcname}-${_commit}
sed -i s/"EXTRAVERSION = -rc1"/"EXTRAVERSION ="/ Makefile
sed -i s/"EXTRAVERSION = -rc2"/"EXTRAVERSION ="/ Makefile
# add upstream patch
#git apply --whitespace=nowarn ../patch-${pkgver}
......@@ -137,7 +134,7 @@ build() {
# build!
unset LDFLAGS
make rockchip_linux_defconfig
#make rockchip_linux_defconfig
make ${MAKEFLAGS} Image Image.gz modules
# Generate device tree blobs with symbols to support applying device tree overlays in U-Boot
make ${MAKEFLAGS} DTC_FLAGS="-@" dtbs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment