forked from faux123/Endeavoru
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sh
executable file
·37 lines (29 loc) · 1.45 KB
/
build.sh
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
# Script taken from Imoseyon and modified by LorD CLockaN #
#TOOLCHAIN=/home/lord/android/system/prebuilt/linux-x86/toolchain/arm-2011/bin/
#TOOLCHAIN=/home/lord/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.5.4/bin/
#TOOLCHAIN_PREFIX=arm-eabi-
PATH=$PATH:/home/lord/Desktop/dhd/arm-eabi-4.4.3/bin/
export CCOMPILER=/home/lord/Desktop/dhd/arm-eabi-4.4.3/bin/arm-eabi-
make -j16 ARCH=arm CROSS_COMPILE=$CCOMPILER
cp arch/arm/boot/zImage ../finished/OneXzimage;
cp arch/arm/mach-tegra/baseband-xmm-power2.ko ../finished/OneXmodules;
cp crypto/tcrypt.ko ../finished/OneXmodules;
cp drivers/bluetooth/btwilink.ko ../finished/OneXmodules;
cp drivers/bluetooth/hci_uart.ko ../finished/OneXmodules;
cp drivers/misc/ti-st/gps_drv.ko ../finished/OneXmodules;
cp drivers/misc/ti-st/st_drv.ko ../finished/OneXmodules;
cp drivers/misc/ti-st/ti_hci_drv.ko ../finished/OneXmodules;
cp drivers/net/kineto_gan.ko ../finished/OneXmodules;
cp drivers/net/usb/raw_ip_net.ko ../finished/OneXmodules;
cp drivers/scsi/scsi_wait_scan.ko ../finished/OneXmodules;
cp drivers/staging/ti-st/fm_drv.ko ../finished/OneXmodules;
cp drivers/usb/class/cdc-acm.ko ../finished/OneXmodules;
cp drivers/usb/serial/baseband_usb_chr.ko ../finished/OneXmodules;
cp net/wireless/lib80211.ko ../finished/OneXmodules;
echo "";
echo "COMPILING FINISHED!!!";
echo "";
echo "Press any key to do a \"make clean\" or CTRL+C to skip it";
read;
alias make='make -j16 ARCH=arm CROSS_COMPILE=$CCOMPILER'
make clean