aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzzysCmAcc <oskarkratochvil86@yahoo.com>2016-08-27 11:03:32 +0200
committerOzzysCmAcc <oskarkratochvil86@yahoo.com>2016-08-31 18:15:35 +0200
commite935d9cd81eb0be0c83be622551d13ecbf9b0c75 (patch)
tree286fc93c22c7cb63a05a9610d5c2d67c367f3ce5
parent9a125be76ed0a9976b8a80113d4e497779588cb2 (diff)
kltekdi: Use generic extract scripts
Change-Id: Iea341e5480b1e2d72b673ea75067621acd42cb58
-rw-r--r--device-proprietary-files.txt (renamed from proprietary-files.txt)0
-rwxr-xr-xextract-files.sh23
-rwxr-xr-xsetup-makefiles.sh23
3 files changed, 40 insertions, 6 deletions
diff --git a/proprietary-files.txt b/device-proprietary-files.txt
index 1c4cd5c..1c4cd5c 100644
--- a/proprietary-files.txt
+++ b/device-proprietary-files.txt
diff --git a/extract-files.sh b/extract-files.sh
index d519a4d..e1348d0 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=samsung
export DEVICE=kltekdi
-./../../$VENDOR/klte-common/extract-files.sh $@
+export DEVICE_COMMON=klte-common
+export VENDOR=samsung
+
+./../$DEVICE_COMMON/extract-files.sh $@
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 7bbdc54..557ead4 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.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=samsung
export DEVICE=kltekdi
-./../../$VENDOR/klte-common/setup-makefiles.sh $@
+export DEVICE_COMMON=klte-common
+export VENDOR=samsung
+
+./../$DEVICE_COMMON/setup-makefiles.sh $@