Make vmlinux stripping optional (#265)
* Update PKGBUILD * Update customization.cfg add option to toggle vmlinux stripping * Update customization.cfg * Preserve the message about stripping vmlinux Co-authored-by: Etienne JUVIGNY <ti3nou@gmail.com>
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -725,8 +725,10 @@ hackheaders() {
|
|||||||
mkdir -p "$pkgdir/usr/src"
|
mkdir -p "$pkgdir/usr/src"
|
||||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||||
|
|
||||||
|
if [ $_STRIP = "true" ]; then
|
||||||
echo "Stripping vmlinux..."
|
echo "Stripping vmlinux..."
|
||||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $_NUKR = "true" ]; then
|
if [ $_NUKR = "true" ]; then
|
||||||
rm -rf "$srcdir" # Nuke the entire src folder so it'll get regenerated clean on next build
|
rm -rf "$srcdir" # Nuke the entire src folder so it'll get regenerated clean on next build
|
||||||
|
@@ -76,6 +76,9 @@ _configfile=""
|
|||||||
# Disable some non-module debugging - See PKGBUILD for the list
|
# Disable some non-module debugging - See PKGBUILD for the list
|
||||||
_debugdisable="false"
|
_debugdisable="false"
|
||||||
|
|
||||||
|
# Strip the vmlinux file after build is done. Set to anything other than "true" if you require debug headers. Default is "true"
|
||||||
|
_STRIP="true"
|
||||||
|
|
||||||
# LEAVE AN EMPTY VALUE TO BE PROMPTED ABOUT FOLLOWING OPTIONS AT BUILD TIME
|
# LEAVE AN EMPTY VALUE TO BE PROMPTED ABOUT FOLLOWING OPTIONS AT BUILD TIME
|
||||||
|
|
||||||
# CPU scheduler - Options are "upds" (TkG's Undead PDS), "pds", "bmq", "muqss", "cacule" or "cfs" (kernel's default)
|
# CPU scheduler - Options are "upds" (TkG's Undead PDS), "pds", "bmq", "muqss", "cacule" or "cfs" (kernel's default)
|
||||||
|
Reference in New Issue
Block a user