summaryrefslogtreecommitdiffstats
path: root/bldins
Side-by-side diff
Diffstat (limited to 'bldins') (more/less context) (ignore whitespace changes)
-rwxr-xr-xbldins7
1 files changed, 5 insertions, 2 deletions
diff --git a/bldins b/bldins
index 43ad6dd..27b8ece 100755
--- a/bldins
+++ b/bldins
@@ -1,5 +1,5 @@
#!/bin/zsh
-
+#source ~/bin/functions
function pread (){
[[ $debug == 0 ]] && {
@@ -9,6 +9,7 @@ function pread (){
}
}
unset CFLAGS CXXFLAGS LDFLAGS CC
+#comcache
pushd $HOME/Arch/Build/torvalds-git
@@ -19,7 +20,7 @@ export KBUILD_VERBOSE=${VERBOSE:-0}
clean=${CLEAN:-1}
conf=${CONF:-1}
MAKEFLAGS=${MAKEFLAGS:--j8}
-ccache=${CCACHE:-0}
+ccache=${CCACHE:-1}
export ARCH=x86_64
export LOCALVERSION=
export INSTALL_FW_PATH=/lib/firmware
@@ -33,6 +34,8 @@ export MENUCONFIG_COLOR=blackbg
export KRCH="x86"
LOGFILE="$HOME/logs/kbuild/kbuild-$(date +%s)"
export KCFLAGS=" -march=native -O2 -pipe "
+#export KCFLAGS=" -march=native -O0 -fno-inline-functions-called-once -fno-early-inlining -pipe "
+#export KCFLAGS=" -march=native -O0 -fno-inline -pipe "
#export LDFLAGS_MODULE="-s"
#export KBUILD_LDFLAGS_MODULE="-s"
#export INSTALL_MOD_STRIP="-s"