aboutsummaryrefslogtreecommitdiff
path: root/setup-makefiles.sh
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2016-07-15 23:09:10 +0200
committerLuca Stefani <luca.stefani.ge1@gmail.com>2016-07-18 21:57:59 +0200
commit082d42e015cc7e7653a89b8b110394601a1a7f38 (patch)
tree19dd4de8694c0adf7ee4d39767bedfb537974300 /setup-makefiles.sh
parent9bbd9fa97356dc0b302c018aed580946c88afaeb (diff)
Z00L: Update extraction scripts
Change-Id: I8caa4b30c3d06d7996b0d2294a578a9066c0e6f6
Diffstat (limited to 'setup-makefiles.sh')
-rwxr-xr-xsetup-makefiles.sh22
1 files changed, 20 insertions, 2 deletions
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 03ad705..38a5ca0 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,7 +1,25 @@
-#!/bin/sh
+#!/bin/bash
+#
+# Copyright (C) 2016 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
set -e
+# Required!
export DEVICE=Z00L
+export DEVICE_COMMON=msm8916-common
export VENDOR=asus
-./../../$VENDOR/msm8916-common/setup-makefiles.sh $@
+
+./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@