Skip to content

Commit

Permalink
neonvm: arm kernel config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-sakhnov committed Sep 25, 2024
1 parent c4ead66 commit fc7a6c2
Show file tree
Hide file tree
Showing 3 changed files with 7,413 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neonvm/hack/kernel/Dockerfile.kernel-builder
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN set -e \
# Build the kernel on amd64
FROM build-deps AS build_amd64
ARG KERNEL_VERSION
ADD linux-config-${KERNEL_VERSION} linux-${KERNEL_VERSION}/.config
ADD linux-config-amd64-${KERNEL_VERSION} linux-${KERNEL_VERSION}/.config
RUN cd linux-${KERNEL_VERSION} && make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- -j `nproc`

# Copy the kernel image to a separate step
Expand All @@ -67,7 +67,7 @@ COPY --from=build_amd64 /build/linux-${KERNEL_VERSION}/arch/x86/boot/bzImage /vm
# Build the kernel on amd64
FROM build-deps AS build_arm64
ARG KERNEL_VERSION
ADD linux-config-${KERNEL_VERSION} linux-${KERNEL_VERSION}/.config
ADD linux-config-aarch64-${KERNEL_VERSION} linux-${KERNEL_VERSION}/.config
RUN cd linux-${KERNEL_VERSION} && make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j `nproc`

# Copy the kernel image to a separate step
Expand Down
Loading

0 comments on commit fc7a6c2

Please sign in to comment.