Skip to content

Instantly share code, notes, and snippets.

@sihorton
sihorton / compile-kernel.config
Created September 2, 2018 11:54
config for compile-kernel.sh
KERNELV="4.18.5"
KERNEL_CONFIG="/media/boot/u3_docker_config"
BOARD_DRIVER="exynos4412-odroidu3"
TARGETD="/media/boot/"
SRCD=`echo ~`
#!/bin/bash
if [ "$1" = "" ]; then
echo "$0: please specify $0 (kernelv) (optional kernel-config)"
echo "e.g. $0 4.18.5 or $0 4.18.5 u3_docker_config"
else
CONF="compile-kernel.config"
#source config
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
. $DIR/$CONF
if [ "$1" != "" ]; then KERNELV="$1"; fi
@sihorton
sihorton / compile-kernel.sh
Created September 2, 2018 12:32
upload from odroid
#!/bin/bash
if [ "$1" = "" ]; then
echo "$0: please specify $0 (kernelv) (optional kernel-config)"
echo "e.g. $0 4.18.5 or $0 4.18.5 u3_docker_config"
else
CONF="compile-kernel.config"
#source config
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
. $DIR/$CONF
if [ "$1" != "" ]; then KERNELV="$1"; fi