-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathstarlte.sh
More file actions
executable file
·20 lines (14 loc) · 876 Bytes
/
starlte.sh
File metadata and controls
executable file
·20 lines (14 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Fetch device tree
git clone https://github.com/SHRP-Devices/device_samsung_starlte device/samsung/starlte
# Fetch the dependencies
[ ! -d "hardware/samsung" ] && git clone --depth=1 -b lineage-16.0 https://github.com/TeamWin/android_hardware_samsung hardware/samsung
[ ! -d "kernel/samsung/universal9810" ] && git clone --depth=1 -b android-9.0 https://github.com/corsicanu/android_kernel_samsung_universal9810 kernel/samsung/universal9810
# Remove conflicts
# build/make/core/base_rules.mk:260: error: kernel/samsung/universal9820/drivers/staging/greybus/tools: MODULE.TARGET.EXECUTABLES.gb_loopback_test already defined by kernel/samsung/universal9810/drivers/staging/greybus/tools.
[ -d "kernel/samsung/universal9820" ] && rm -rf kernel/samsung/universal9820
# Setup the build
. build/envsetup.sh
lunch omni_starlte-eng
# Actual build
mka recoveryimage