peregrine: Update extraction scripts

Change-Id: I64b5c1f118174099ee95c79a8417e75e3035b6ed
This commit is contained in:
Matthias Yzusqui 2016-08-05 18:39:36 +02:00
parent 15d07c48f4
commit cde5c7c55f
2 changed files with 41 additions and 5 deletions

View File

@ -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=peregrine
./../../$VENDOR/msm8226-common/extract-files.sh $@
export DEVICE_COMMON=msm8226-common
export VENDOR=motorola
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@

View File

@ -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=peregrine
export DEVICE_COMMON=msm8226-common
export VENDOR=motorola
./../../$VENDOR/msm8226-common/setup-makefiles.sh $@
./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@