android_device_samsung_a20/universal7885-common/vendorsetup.sh
roynatech2544 b231e3bd21
universal7885: Add my makefile Generator script
Change-Id: I2ec7e72a67d73e5b9b6dd4f57557ede1651ebe03
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:53 +09:00

21 lines
1.3 KiB
Shell

git clone git@github.com:eurekadevelopment/android_vendor_samsung_a20_r.git vendor/samsung -b master
#git clone git@github.com:eurekadevelopment/android_device_samsung_a20_r.git device/samsung
rm -rf hardware/samsung
git clone git@github.com:eurekadevelopment/android_hardware_samsung.git hardware/samsung -b AOSP-11
git clone git@github.com:eurekadevelopment/Eureka-Kernel-Exynos7885-Q-R-S-private.git kernel/samsung/exynos7885 --depth=1 -b R8.0_rom
git clone https://github.com/lineageos/android_hardware_samsung_nfc hardware/samsung/nfc
git clone https://github.com/lineageos/android_hardware_samsung_slsi_libbt hardware/samsung_slsi/libbt
git clone https://github.com/lineageos/android_hardware_samsung_slsi_scsc_wifibt_wifi_hal hardware/samsung_slsi/scsc_wifibt/wifi_hal
git clone https://github.com/lineageos/android_hardware_samsung_slsi_scsc_wifibt_wpa_supplicant_lib hardware/samsung_slsi/scsc_wifibt/wpa_supplicant_lib
if ! test -f vendor_detect; then
clang++ device/samsung/universal7885-common/vendor_detect/main.cpp -o vendor_detect -std=c++17
fi
if ! test -f device/samsung/universal7885-common/vendor_name; then
touch device/samsung/universal7885-common/vendor_name
fi
./vendor_detect
echo "Generating A20 Makefiles"
./device/samsung/a20/setup.sh
echo "Generating A20e Makefiles"
./device/samsung/a20e/setup.sh