summaryrefslogtreecommitdiffstats
path: root/bldins
Side-by-side diff
Diffstat (limited to 'bldins') (more/less context) (ignore whitespace changes)
-rwxr-xr-xbldins11
1 files changed, 5 insertions, 6 deletions
diff --git a/bldins b/bldins
index 34d1fb8..4f9c2fd 100755
--- a/bldins
+++ b/bldins
@@ -51,7 +51,6 @@ if [[ $install == 0 ]];then
make localyesconfig || exit 1
else
#cp ~/config/kconfig/config .config
- KCFLAGS=" -march=native -O2 -pipe "
make menuconfig || exit 1
make modules_prepare || exit 1
@@ -62,7 +61,7 @@ if [[ $install == 0 ]];then
echo "Building bzImage!"
#/usr/bin/time -p $=BUILDCMD | tee $LOGFILE || exit 1
- (/usr/bin/time -p $=BUILDCMD || exit 1) | tee $LOGFILE
+ (/usr/bin/time -p $=BUILDCMD || exit 1) |& tee $LOGFILE
ver=${kernver[(ws:-:)-1]}
kernelname=${1:-$ver}
@@ -110,15 +109,15 @@ fallback_image=\"/boot/kernel26-fallback${kernelname}.img\"
fallback_options=\"-S autodetect\"
" | sudo tee /etc/mkinitcpio.d/kernel26${kernelname}.preset
-pread "Verify mkinitcpio.conf and others"
-pread "Installing modules to /lib/modules/$kernver"
+echo "Verify mkinitcpio.conf and others"
+echo "Installing modules to /lib/modules/$kernver"
sudo make modules_install
-pread "Installing firmware"
+echo "Installing firmware"
sudo make firmware_install
-pread "Time for headers..hmmm"
+echo "Time for headers..hmmm"
sudo install -D -m644 Makefile /usr/src/linux-${kernver}/Makefile
sudo install -D -m644 kernel/Makefile /usr/src/linux-${kernver}/kernel/Makefile