summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Popi <theh2o64@gmail.com>2016-07-20 17:49:51 +0200
committerLouis Popi <theh2o64@gmail.com>2016-07-20 17:49:51 +0200
commit854e2e4b0c76954bc52e1d8652d6e7155ee1d3c9 (patch)
treea1a3751095fd54e49c555b20e2262fbc86468fa4
parent6b50f580777d941fff83b5875e86cdf2b1d2d41a (diff)
h830: Update extract files
* In order to use the new generic extract utils in vendor/cm
-rwxr-xr-xextract-files.sh23
-rwxr-xr-xsetup-makefiles.sh21
2 files changed, 39 insertions, 5 deletions
diff --git a/extract-files.sh b/extract-files.sh
index fe1b9c7..fb0b627 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,7 +1,24 @@
-#!/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=lge
export DEVICE=h830
-./../../$VENDOR/g5-common/extract-files.sh $@
+export DEVICE_COMMON=g5-common
+export VENDOR=lge
+
+./../$DEVICE_COMMON/extract-files.sh $@
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index e3235a5..549a66e 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,7 +1,24 @@
#!/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=lge
export DEVICE=h830
-./../../$VENDOR/g5-common/setup-makefiles.sh $@
+export DEVICE_COMMON=g5-common
+export VENDOR=lge
+
+./../$DEVICE_COMMON/setup-makefiles.sh $@