Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Enable ppc64le support #345

Merged
merged 1 commit into from
Nov 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions build/Dockerfile.ppc64le
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ibmcom/centos:7
MAINTAINER Harshal Patil <[email protected]>

RUN yum install -y patch gcc ncurses-devel make openssl-devel bc perl

ENV KERNEL_VERSION 4.12.4
ENV LOCALVERSION -hyper
ENV KERNEL_RELEASE ${KERNEL_VERSION}${LOCALVERSION}

ENV KBUILD_BUILD_USER dev
ENV KBUILD_BUILD_HOST hyper.sh
ENV KBUILD_BUILD_VERSION 1

RUN mkdir /root/build/ && mkdir /root/build/result/
RUN curl -fSL https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.gz | tar -zx -C /root/build

COPY kernel_config /root/build/linux-${KERNEL_VERSION}/.config
COPY kernel_patch/ /root/build/kernel_patch/

RUN cd /root/build/linux-${KERNEL_VERSION}/ && for patch in /root/build/kernel_patch/*.patch; do patch -p1 <$patch || exit 1; done
RUN cd /root/build/linux-${KERNEL_VERSION}/ && make silentoldconfig && make -j 8

# install to /root/build/result/ so that we can get them from it
RUN cp /root/build/linux-${KERNEL_VERSION}/vmlinux /root/build/result/kernel
RUN cp /root/build/linux-${KERNEL_VERSION}/.config /root/build/result/kernel_config
Binary file added build/arch/ppc64le/binary/busybox
Binary file not shown.
Binary file added build/arch/ppc64le/binary/iptables
Binary file not shown.
Binary file added build/arch/ppc64le/binary/ipvsadm
Binary file not shown.
Binary file added build/arch/ppc64le/binary/mount.nfs
Binary file not shown.
Binary file added build/arch/ppc64le/binary/rtas.tar
Binary file not shown.
Binary file added build/arch/ppc64le/binary/socat
Binary file not shown.
Binary file added build/arch/ppc64le/kernel
Binary file not shown.
Loading