forked from ev3dev/ev3dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_kconfig
executable file
·40 lines (24 loc) · 908 Bytes
/
build_kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! /bin/dash
#******************************************************************************************************************
# COMPILE KERNEL
#******************************************************************************************************************
# as normal user on linux pc terminal:
echo
echo -------------------------------------------------------------------------------
echo BUILDING KCONFIG
echo -------------------------------------------------------------------------------
echo
sleep 1
project=`pwd`
echo ${project}
. ./env_setup
echo ${AM1808_COMPILER}
PATH=${AM1808_COMPILER}:$PATH
echo ${PATH}
cd "${AM1808_KERNEL}"
echo "Now we're in $(pwd)"
cp ${project}/ev3dev.config ${AM1808_KERNEL}/.config
echo "BUILDING KCONFIG"
make ARCH=arm CROSS_COMPILE=${AM1808_ABI} menuconfig
echo "COPYING .config BACK"
cp ${AM1808_KERNEL}/.config ${project}/ev3dev.config.new