summaryrefslogtreecommitdiffstats
path: root/bin/build.kernel.sh
diff options
context:
space:
mode:
authorSebastian2011-04-26 19:38:11 +0200
committerSebastian2011-04-26 19:38:11 +0200
commite8f2057c4ba4e366f132e2a8780324232c725fd3 (patch)
tree9b411c31c01a20e397b633ae672b27a24858f998 /bin/build.kernel.sh
parentupdate fbgui... (diff)
downloadusb-boot-stick-e8f2057c4ba4e366f132e2a8780324232c725fd3.tar.gz
usb-boot-stick-e8f2057c4ba4e366f132e2a8780324232c725fd3.tar.xz
usb-boot-stick-e8f2057c4ba4e366f132e2a8780324232c725fd3.zip
create installer working ..
Diffstat (limited to 'bin/build.kernel.sh')
-rwxr-xr-xbin/build.kernel.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/build.kernel.sh b/bin/build.kernel.sh
index 309e24a..937ebe3 100755
--- a/bin/build.kernel.sh
+++ b/bin/build.kernel.sh
@@ -7,11 +7,11 @@ ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0))/..)
cd $ROOT_DIR/build
if [ ! -d linux-${kernel_version} ]; then
- echo "[build-kernel] \t\t Can't find kernel-sources. Re-run kernel env setup."
+ echo -e "[build-kernel] \t\t Can't find kernel-sources. Re-run kernel env setup."
$ROOT_DIR/bin/env.setup-kernel.sh
fi
-echo "[build-kernel]\t\t Update Kernel config."
+echo -e "[build-kernel]\t\t Update Kernel config."
cd linux-${kernel_version}
cp ${ROOT_DIR}/config/kernel.config ./.config
@@ -19,15 +19,15 @@ mkdir -p $ROOT_DIR/build/log
yes "" | linux32 make oldconfig > $ROOT_DIR/build/log/kernel-oldconfig.log 2>&1
-echo "[build-kernel]\t\t Build Kernel (Could take some time)."
+echo -e "[build-kernel]\t\t Build Kernel (Could take some time)."
linux32 make -j $make_num_jobs > $ROOT_DIR/build/log/kernel-compile.log 2>&1
cp arch/x86/boot/bzImage ../kernel-preboot-latest
KERNEL_SIZE=$(stat -c %s ${ROOT_DIR}/build/kernel-preboot-latest)
-echo "[build-kernel] \t\t New Kernel build successfully."
-echo "\t\t\t Location: ${ROOT_DIR}/build/kernel-preboot-latest ."
-echo "\t\t\t Size: ${KERNEL_SIZE} bytes."
+echo -e "[build-kernel] \t\t New Kernel build successfully."
+echo -e "\t\t\t Location: ${ROOT_DIR}/build/kernel-preboot-latest ."
+echo -e "\t\t\t Size: ${KERNEL_SIZE} bytes."
cd - >/dev/null 2>&1