Skip to content

Commit

Permalink
Strip modules to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
Etn40ff committed Nov 27, 2023
1 parent 229a14d commit 812cdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/linux-stracciatella/package
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ package() {
cp --no-dereference "$srcdir"/arch/arm/boot/dts/zero-sugar.dtb "$staging"/boot/zero-sugar.dtb
fi

ARCH=arm make -C "$srcdir" modules_install INSTALL_MOD_PATH="$staging"
ARCH=arm make -C "$srcdir" modules_install INSTALL_MOD_PATH="$staging" INSTALL_MOD_STRIP=1
rm "$staging"/lib/modules/*/{source,build}

# Create the kernel archive
Expand Down

0 comments on commit 812cdb7

Please sign in to comment.