disable DEBUG_INFO to speedup build and reduce space cost.

This commit is contained in:
debuggerx
2021-08-16 18:32:57 +08:00
parent 945692eeb7
commit 17e27cb1ac
3 changed files with 12 additions and 13 deletions

View File

@@ -21,6 +21,9 @@ cd linux-"$VERSION" || exit
# copy config file
cp ../config .config
# disable DEBUG_INFO to speedup build
scripts/config --disable DEBUG_INFO
# apply patches
# shellcheck source=src/util.sh
source ../patch.d/*.sh
@@ -32,5 +35,4 @@ make deb-pkg -j"$CPU_CORES"
# move deb packages to artifact dir
cd ..
mkdir "artifact"
rm ./*dbg*.deb
mv ./*.deb artifact/