linux: Enable for ppc
Closes: #8244 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
74a6b0ad4b
commit
3f8e90cfcb
3 changed files with 6991 additions and 4 deletions
|
@ -13,7 +13,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
depends="linux${version} linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network dracut"
|
||||
_depends_headers="linux${version}-headers"
|
||||
;;
|
||||
ppc64*)
|
||||
ppc*)
|
||||
depends="linux${version} linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut"
|
||||
_depends_headers="linux${version}-headers"
|
||||
;;
|
||||
|
|
6986
srcpkgs/linux4.19/files/ppc-dotconfig
Normal file
6986
srcpkgs/linux4.19/files/ppc-dotconfig
Normal file
File diff suppressed because it is too large
Load diff
|
@ -17,7 +17,7 @@ noverifyrdeps=yes
|
|||
noshlibprovides=yes
|
||||
preserve=yes
|
||||
|
||||
archs="i686* x86_64* arm* aarch64* ppc64*"
|
||||
archs="i686* x86_64* arm* aarch64* ppc*"
|
||||
hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel libressl-devel perl uboot-mkimage"
|
||||
|
||||
_kernver="${version}_${revision}"
|
||||
|
@ -52,6 +52,7 @@ do_configure() {
|
|||
aarch64*) arch=arm64;;
|
||||
ppc64le*) arch=powerpc; subarch=ppc64le;;
|
||||
ppc64*) arch=powerpc; subarch=ppc64;;
|
||||
ppc*) arch=powerpc;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -86,7 +87,7 @@ do_build() {
|
|||
x86_64*) _args="bzImage modules"; arch=x86_64;;
|
||||
arm*) _args="zImage modules dtbs"; arch=arm;;
|
||||
aarch64*) _args="Image modules dtbs"; arch=arm64;;
|
||||
ppc64*) _args="zImage modules"; arch=powerpc;;
|
||||
ppc*) _args="zImage modules"; arch=powerpc;;
|
||||
esac
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||
|
@ -106,7 +107,7 @@ do_install() {
|
|||
x86_64*) arch=x86; subarch=x86_64;;
|
||||
arm*) arch=arm;;
|
||||
aarch64*) arch=arm64;;
|
||||
ppc64*) arch=powerpc;;
|
||||
ppc*) arch=powerpc;;
|
||||
esac
|
||||
|
||||
# Run depmod after compressing modules.
|
||||
|
|
Loading…
Add table
Reference in a new issue