mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
parent
b84d78b580
commit
b07daf1bbc
11 changed files with 18 additions and 13 deletions
|
@ -1,12 +1,12 @@
|
||||||
# ARMv8 multi-platform
|
# AArch64 multi-platform
|
||||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
|
||||||
buildarch=8
|
buildarch=8
|
||||||
|
|
||||||
pkgbase=linux-armv8
|
pkgbase=linux-aarch64
|
||||||
_srcname=linux-4.3
|
_srcname=linux-4.3
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="ARMv8 multi-platform"
|
_desc="AArch64 multi-platform"
|
||||||
pkgver=4.3.0
|
pkgver=4.3.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
|
@ -33,8 +33,8 @@ md5sums=('58b35794eee3b6d52ce7be39357801e7'
|
||||||
'1ec8970e2fdba212479eae61cd799a12'
|
'1ec8970e2fdba212479eae61cd799a12'
|
||||||
'1a66e243ed08e3331b2550cd777ef800'
|
'1a66e243ed08e3331b2550cd777ef800'
|
||||||
'634737dc18404f4a05a1fd557dc4839d'
|
'634737dc18404f4a05a1fd557dc4839d'
|
||||||
'220a53cd10a5952a2c573b34e95edfc1'
|
'edd9d32052fd7c2d5b9806bbb258435c'
|
||||||
'c1b17ea11a6c9ca95a26881db1376e8e')
|
'b5ef67d6086e20de7b82265f562f88b1')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
@ -96,6 +96,7 @@ _package() {
|
||||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||||
optdepends=('crda: to set the correct wireless channels of your country')
|
optdepends=('crda: to set the correct wireless channels of your country')
|
||||||
provides=('kernel26' "linux=${pkgver}")
|
provides=('kernel26' "linux=${pkgver}")
|
||||||
|
replaces=('linux-armv8')
|
||||||
conflicts=('linux')
|
conflicts=('linux')
|
||||||
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
|
@ -153,6 +154,7 @@ _package() {
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
|
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
|
||||||
provides=("linux-headers=${pkgver}")
|
provides=("linux-headers=${pkgver}")
|
||||||
|
replaces=('linux-armv8-headers')
|
||||||
conflicts=('linux-headers')
|
conflicts=('linux-headers')
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
|
@ -26,7 +26,7 @@ CONFIG_SWIOTLB=y
|
||||||
CONFIG_IOMMU_HELPER=y
|
CONFIG_IOMMU_HELPER=y
|
||||||
CONFIG_KERNEL_MODE_NEON=y
|
CONFIG_KERNEL_MODE_NEON=y
|
||||||
CONFIG_FIX_EARLYCON_MEM=y
|
CONFIG_FIX_EARLYCON_MEM=y
|
||||||
CONFIG_PGTABLE_LEVELS=2
|
CONFIG_PGTABLE_LEVELS=3
|
||||||
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
CONFIG_IRQ_WORK=y
|
CONFIG_IRQ_WORK=y
|
||||||
CONFIG_BUILDTIME_EXTABLE_SORT=y
|
CONFIG_BUILDTIME_EXTABLE_SORT=y
|
||||||
|
@ -382,11 +382,12 @@ CONFIG_ARM64_ERRATUM_824069=y
|
||||||
CONFIG_ARM64_ERRATUM_819472=y
|
CONFIG_ARM64_ERRATUM_819472=y
|
||||||
CONFIG_ARM64_ERRATUM_832075=y
|
CONFIG_ARM64_ERRATUM_832075=y
|
||||||
CONFIG_ARM64_ERRATUM_843419=y
|
CONFIG_ARM64_ERRATUM_843419=y
|
||||||
# CONFIG_ARM64_4K_PAGES is not set
|
CONFIG_ARM64_4K_PAGES=y
|
||||||
CONFIG_ARM64_64K_PAGES=y
|
# CONFIG_ARM64_64K_PAGES is not set
|
||||||
CONFIG_ARM64_VA_BITS_42=y
|
CONFIG_ARM64_VA_BITS_39=y
|
||||||
|
# CONFIG_ARM64_VA_BITS_42 is not set
|
||||||
# CONFIG_ARM64_VA_BITS_48 is not set
|
# CONFIG_ARM64_VA_BITS_48 is not set
|
||||||
CONFIG_ARM64_VA_BITS=42
|
CONFIG_ARM64_VA_BITS=39
|
||||||
# CONFIG_CPU_BIG_ENDIAN is not set
|
# CONFIG_CPU_BIG_ENDIAN is not set
|
||||||
CONFIG_SCHED_MC=y
|
CONFIG_SCHED_MC=y
|
||||||
CONFIG_SCHED_SMT=y
|
CONFIG_SCHED_SMT=y
|
||||||
|
@ -404,6 +405,7 @@ CONFIG_HAVE_ARCH_PFN_VALID=y
|
||||||
CONFIG_HW_PERF_EVENTS=y
|
CONFIG_HW_PERF_EVENTS=y
|
||||||
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
|
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
|
||||||
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
||||||
|
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
|
||||||
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
|
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
|
||||||
CONFIG_SELECT_MEMORY_MODEL=y
|
CONFIG_SELECT_MEMORY_MODEL=y
|
||||||
CONFIG_SPARSEMEM_MANUAL=y
|
CONFIG_SPARSEMEM_MANUAL=y
|
||||||
|
@ -473,6 +475,7 @@ CONFIG_BINFMT_SCRIPT=y
|
||||||
# CONFIG_HAVE_AOUT is not set
|
# CONFIG_HAVE_AOUT is not set
|
||||||
CONFIG_BINFMT_MISC=m
|
CONFIG_BINFMT_MISC=m
|
||||||
CONFIG_COREDUMP=y
|
CONFIG_COREDUMP=y
|
||||||
|
# CONFIG_COMPAT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Power management options
|
# Power management options
|
|
@ -1,7 +1,7 @@
|
||||||
# arg 1: the new package version
|
# arg 1: the new package version
|
||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=-armv8
|
KERNEL_NAME=-aarch64
|
||||||
KERNEL_VERSION=4.3.0-1-ARCH
|
KERNEL_VERSION=4.3.0-1-ARCH
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
|
@ -1,7 +1,7 @@
|
||||||
# mkinitcpio preset file for the 'linux-armv8' package
|
# mkinitcpio preset file for the 'linux-aarch64' package
|
||||||
|
|
||||||
ALL_config="/etc/mkinitcpio.conf"
|
ALL_config="/etc/mkinitcpio.conf"
|
||||||
ALL_kver="4.2.0-1-ARCH"
|
ALL_kver="4.3.0-1-ARCH"
|
||||||
|
|
||||||
PRESETS=('default' 'fallback')
|
PRESETS=('default' 'fallback')
|
||||||
|
|
Loading…
Reference in a new issue