Skip to content

Commit

Permalink
more fast?
Browse files Browse the repository at this point in the history
  • Loading branch information
coolkingcole committed Oct 30, 2023
1 parent 835f341 commit d801540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker_inner_build_targets.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $NPROC=$(nproc).strip()
cd $BUILD_ROOT

for arch in TARGETLIST:
make mrproper
make mrproper -j$NPROC
TARGETS=["vmlinux"]
if "arm" in arch:
TARGETS.append("zImage")
Expand All @@ -59,7 +59,7 @@ for arch in TARGETLIST:
$CROSS_CC=get_cc(arch)
mkdir -p f"build/{arch}"
cp f"config.{arch}" f"build/{arch}/.config"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig -j$NPROC

echo "Building kernel"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) @(TARGETS) -j$NPROC
Expand Down

0 comments on commit d801540

Please sign in to comment.