Commit 28675252 authored by Joanne Hugé's avatar Joanne Hugé

Update compile kernel script

parent 09461cc1
......@@ -73,6 +73,16 @@ fi
# Setup
linux_path=$(readlink -m $linux_path)
if [ -n "${new_config}" ]; then
if [ "$#" -ne 2 ]; then
usage
fi
old_config_path=$(readlink -m $1)
new_config_path=$(readlink -m $2)
fi
export ARCH=arm;export CROSS_COMPILE=arm-linux-gnueabihf-;
cd $linux_path;
......@@ -81,15 +91,6 @@ if [ -n "$update_git" ]; then
fi
if [ -z "$partial_compile" ]; then
if [ -n "${new_config}" ]; then
if [ "$#" -ne 2 ]; then
usage
fi
old_config_path=$(readlink -m $1)
new_config_path=$(readlink -m $2)
fi
# Kernel configuration
if [ -n "${new_config}" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment