diff --git a/PKGBUILD b/PKGBUILD index bfbdf82..6d00fdc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -725,8 +725,10 @@ hackheaders() { mkdir -p "$pkgdir/usr/src" ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" - echo "Stripping vmlinux..." - strip -v $STRIP_STATIC "$builddir/vmlinux" + if [ $_STRIP = "true" ]; then + echo "Stripping vmlinux..." + strip -v $STRIP_STATIC "$builddir/vmlinux" + fi if [ $_NUKR = "true" ]; then rm -rf "$srcdir" # Nuke the entire src folder so it'll get regenerated clean on next build diff --git a/customization.cfg b/customization.cfg index 20cbfbd..dc0472a 100644 --- a/customization.cfg +++ b/customization.cfg @@ -76,6 +76,9 @@ _configfile="" # Disable some non-module debugging - See PKGBUILD for the list _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 # CPU scheduler - Options are "upds" (TkG's Undead PDS), "pds", "bmq", "muqss", "cacule" or "cfs" (kernel's default)