-
Notifications
You must be signed in to change notification settings - Fork 18
/
MMI-RORS31.193-14-6.txt
executable file
·28 lines (15 loc) · 2.48 KB
/
MMI-RORS31.193-14-6.txt
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
#!/bin/bash -ex
mydir=`pwd`
#rm -rf $mydir/out/
mkdir -p $mydir/out/target/product/generic/obj/kernel
kernel_out_dir=$mydir/out/target/product/generic/obj/kernel
cross=$mydir/bsp/toolchain/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
make -j8 -w -C bsp/kernel/kernel4.14 KBUILD_RELSRC=$mydir/bsp/kernel/kernel4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android sprd_qogirl6_defconfig &> 1.log
make -j8 -w -C bsp/kernel/kernel4.14 KBUILD_RELSRC=$mydir/bsp/kernel/kernel4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android &> 2.log
make -j8 -w -C bsp/kernel/kernel4.14 KBUILD_RELSRC=$mydir/bsp/kernel/kernel4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android dtbs &> 3.log
make -j8 -w -C bsp/kernel/kernel4.14 KBUILD_RELSRC=$mydir/bsp/kernel/kernel4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android modules &> 4.log
make -j8 -w -C bsp/kernel/kernel4.14 KBUILD_RELSRC=$mydir/bsp/kernel/kernel4.14 O=$kernel_out_dir INSTALL_MOD_PATH=$mydir/out/target/product/generic INSTALL_MOD_STRIP="--strip-debug --remove-section=.note.gnu.build-id" ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= modules_install &> 5.log
make -j8 -w -C bsp/kernel/kernel4.14 M=$mydir/bsp/modules/kernel4.14/wcn/bluetooth/driver O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android modules BSP_BOARD_UNISOC_WCN_SOCKET=sdio
make -j8 -w -C bsp/kernel/kernel4.14 M=$mydir/bsp/modules/kernel4.14/wcn/bluetooth/driver O=$kernel_out_dir INSTALL_MOD_PATH=$mydir/kernel/out/target/product/generic INSTALL_MOD_STRIP="--strip-debug --remove-section=.note.gnu.build-id" ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= modules_install
make -j8 -w -C bsp/kernel/kernel4.14 M=$mydir/bsp/modules/kernel4.14/wcn/wlan O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= KCFLAGS=-mno-android modules BSP_BOARD_WLAN_DEVICE=sc2355
make -j8 -w -C bsp/kernel/kernel4.14 M=$mydir/bsp/modules/kernel4.14/wcn/wlan O=$kernel_out_dir INSTALL_MOD_PATH=$mydir/kernel/out/target/product/generic INSTALL_MOD_STRIP="--strip-debug --remove-section=.note.gnu.build-id" ARCH=arm64 CROSS_COMPILE=$cross KBUILD_BUILD_USER= KBUILD_BUILD_HOST= modules_install