Browse Source

vendor: simplify vendorsetup

Change-Id: I7a7d43a0ce3a8cfa0171bcfecf601a0d243f3fc9
Signed-off-by: Akhil Narang <akhil.narang@protonmail.com>
Akhil Narang 4 years ago
parent
commit
27af5e271f
2 changed files with 15 additions and 9 deletions
  1. 11
    0
      aokp.devices
  2. 4
    9
      vendorsetup.sh

+ 11
- 0
aokp.devices View File

@@ -0,0 +1,11 @@
1
+angler
2
+bacon
3
+bullhead
4
+condor
5
+falcon
6
+flo
7
+hammerhead
8
+hammerheadcaf
9
+mako
10
+m8
11
+oneplus2

+ 4
- 9
vendorsetup.sh View File

@@ -1,9 +1,4 @@
1
-add_lunch_combo aokp_angler-userdebug
2
-add_lunch_combo aokp_bacon-userdebug
3
-add_lunch_combo aokp_bullhead-userdebug
4
-add_lunch_combo aokp_flo-userdebug
5
-add_lunch_combo aokp_hammerhead-userdebug
6
-add_lunch_combo aokp_hammerheadcaf-userdebug
7
-add_lunch_combo aosp_mako-userdebug
8
-add_lunch_combo aokp_m8-userdebug
9
-add_lunch_combo aokp_oneplus2-userdebug
1
+for device in $(cat vendor/aokp/aokp.devices)
2
+do
3
+add_lunch_combo aokp_$device-userdebug
4
+done