Skip to content

Commit 695c7dd

Browse files
committed
resources: Update make command in dockerfile to use nproc
1 parent 6edc682 commit 695c7dd

File tree

2 files changed

+2
-2
lines changed
  • src/ubuntu-generic-diskimages/kernel-and-modules

2 files changed

+2
-2
lines changed

src/ubuntu-generic-diskimages/kernel-and-modules/arm-ubuntu-22.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN cd /workspace && apt source linux-image-unsigned-5.15.0-25-generic
2424

2525
RUN cd /workspace/linux-5.15.0 && \
2626
make defconfig && \
27-
make -j 32 && \
27+
make -j $(nproc) && \
2828
make INSTALL_MOD_PATH=/workspace/output modules_install
2929

3030
RUN git clone https://github.com/gem5/gem5.git --depth=1 --filter=blob:none --no-checkout --sparse --single-branch --branch=release-staging-v24-1-1-0 && \

src/ubuntu-generic-diskimages/kernel-and-modules/arm-ubuntu-24.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN cd /workspace && apt source linux-image-unsigned-6.8.0-47-generic
2222

2323
RUN cd /workspace/linux-6.8.0 && \
2424
make defconfig && \
25-
make -j 32 && \
25+
make -j $(nproc) && \
2626
make INSTALL_MOD_PATH=/workspace/output modules_install
2727

2828
RUN git clone https://github.com/gem5/gem5.git --depth=1 --filter=blob:none --no-checkout --sparse --single-branch --branch=release-staging-v24-1-1-0 && \

0 commit comments

Comments
 (0)