forked from Atrix-Dev-Team/kernel-MB860
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompile
More file actions
executable file
·39 lines (31 loc) · 769 Bytes
/
compile
File metadata and controls
executable file
·39 lines (31 loc) · 769 Bytes
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
39
#!/bin/bash
source kernelenv
cd $LINUXSRCDIR
if [ "$1" == "configs" ]; then
cd arch/arm/configs
ls -1 *olympus*
exit
fi
if [ "$1" == "clean" ]; then
make clean
exit
fi
if [ "$1" == "modules" ]; then
make modules
find . | grep "\.ko$"
exit
fi
if [ "$1" != "" ]; then
make $1
exit
else
make oldconfig
fi
if [ "$1" == "" ]; then
make
exit
fi
#cp arch/arm/boot/zImage ~/git_repos/atrix-mrom/cm_system/device/motorola/olympus/kernel
#cp arch/arm/mach-tegra/*.ko ~/git_repos/atrix-mrom/cm_system/device/motorola/olympus/modules
#cp drivers/scsi/scsi_wait_scan.ko ~/git_repos/atrix-mrom/cm_system/device/motorola/olympus/modules
#cp drivers/misc/vpndriver/vpnclient.ko ~/git_repos/atrix-mrom/cm_system/device/motorola/olympus/modules