Skip to content

Commit

Permalink
falcon: Update extraction scripts
Browse files Browse the repository at this point in the history
Change-Id: I4e05b22d6d4fc7f47007fa624436d8a0a1981e52
  • Loading branch information
myzb committed Aug 6, 2016
1 parent 05b1fa3 commit d12bc6b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
24 changes: 21 additions & 3 deletions extract-files.sh
Original file line number Diff line number Diff line change
@@ -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=falcon
./../../$VENDOR/msm8226-common/extract-files.sh $@
export DEVICE_COMMON=msm8226-common
export VENDOR=motorola

./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
22 changes: 20 additions & 2 deletions setup-makefiles.sh
Original file line number Diff line number Diff line change
@@ -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=falcon
export DEVICE_COMMON=msm8226-common
export VENDOR=motorola
./../../$VENDOR/msm8226-common/setup-makefiles.sh $@

./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@

0 comments on commit d12bc6b

Please sign in to comment.