mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 00:12:56 +02:00
linux5.0: enable for ppc*
I had to disable CONFIG_ZSMALLOC because it does not build for ppc. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
028ab51d5e
commit
aa6aad4e41
2 changed files with 7018 additions and 3 deletions
7014
srcpkgs/linux5.0/files/ppc-dotconfig
Normal file
7014
srcpkgs/linux5.0/files/ppc-dotconfig
Normal file
File diff suppressed because it is too large
Load diff
|
@ -17,7 +17,7 @@ noverifyrdeps=yes
|
||||||
noshlibprovides=yes
|
noshlibprovides=yes
|
||||||
preserve=yes
|
preserve=yes
|
||||||
|
|
||||||
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc64*"
|
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc*"
|
||||||
hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel libressl-devel perl uboot-mkimage"
|
hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel libressl-devel perl uboot-mkimage"
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
@ -52,6 +52,7 @@ do_configure() {
|
||||||
aarch64*) arch=arm64;;
|
aarch64*) arch=arm64;;
|
||||||
ppc64le*) arch=powerpc; subarch=ppc64le;;
|
ppc64le*) arch=powerpc; subarch=ppc64le;;
|
||||||
ppc64*) arch=powerpc; subarch=ppc64;;
|
ppc64*) arch=powerpc; subarch=ppc64;;
|
||||||
|
ppc*) arch=powerpc;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -86,7 +87,7 @@ do_build() {
|
||||||
x86_64*) _args="bzImage modules"; arch=x86_64;;
|
x86_64*) _args="bzImage modules"; arch=x86_64;;
|
||||||
arm*) _args="zImage modules dtbs"; arch=arm;;
|
arm*) _args="zImage modules dtbs"; arch=arm;;
|
||||||
aarch64*) _args="Image modules dtbs"; arch=arm64;;
|
aarch64*) _args="Image modules dtbs"; arch=arm64;;
|
||||||
ppc64*) _args="zImage modules"; arch=powerpc;;
|
ppc*) _args="zImage modules"; arch=powerpc;;
|
||||||
esac
|
esac
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||||
|
@ -106,7 +107,7 @@ do_install() {
|
||||||
x86_64*) arch=x86; subarch=x86_64;;
|
x86_64*) arch=x86; subarch=x86_64;;
|
||||||
arm*) arch=arm;;
|
arm*) arch=arm;;
|
||||||
aarch64*) arch=arm64;;
|
aarch64*) arch=arm64;;
|
||||||
ppc64*) arch=powerpc;;
|
ppc*) arch=powerpc;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Run depmod after compressing modules.
|
# Run depmod after compressing modules.
|
||||||
|
|
Loading…
Add table
Reference in a new issue