diff options
| author | Matthias Yzusqui <myzb.dev@gmail.com> | 2016-08-05 18:39:31 +0200 |
|---|---|---|
| committer | doc HD <doc.divxm@gmail.com> | 2016-08-20 17:47:40 +0300 |
| commit | e7b38f7b4e691fa1394cbd704235381e8a7e3158 (patch) | |
| tree | 21c96b27757b9c6212f88992fb0f2d15f4253267 | |
| parent | cf6fb4154a8c1cd4943d55d2329462e07ca45be9 (diff) | |
thea: Update extraction scripts
Change-Id: If4f9d2cfd453921ccc52116bc5a5ce3811a92d14
| -rwxr-xr-x | extract-files.sh | 24 | ||||
| -rwxr-xr-x | setup-makefiles.sh | 22 |
2 files changed, 41 insertions, 5 deletions
diff --git a/extract-files.sh b/extract-files.sh index ef7c544..435ca8a 100755 --- a/extract-files.sh +++ b/extract-files.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 -export VENDOR=motorola +# Required! export DEVICE=thea -./../../$VENDOR/msm8226-common/extract-files.sh $@ +export DEVICE_COMMON=msm8226-common +export VENDOR=motorola + +./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@ diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 1229231..ce2f4c3 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=thea +export DEVICE_COMMON=msm8226-common export VENDOR=motorola -./../../$VENDOR/msm8226-common/setup-makefiles.sh $@ + +./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@ |
