aboutsummaryrefslogtreecommitdiffstats
path: root/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh21
1 files changed, 5 insertions, 16 deletions
diff --git a/extract-files.sh b/extract-files.sh
index a11eaf3..6956be2 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2012 The CyanogenMod Project
+# 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.
@@ -17,22 +17,11 @@
# This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT
VENDOR=samsung
-COMMON=p51xx
-DEVICE=p5100
-COMMONBASE=../../../vendor/$VENDOR/$COMMON/common
-DEVICEBASE=../../../vendor/$VENDOR/$COMMON/$DEVICE
-
-echo "Pulling common files..."
-for FILE in `cat ../espresso-common/proprietary-p51xx-files.txt | grep -v ^# | grep -v ^$`; do
- DIR=`dirname $FILE`
- if [ ! -d $COMMONBASE/$DIR ]; then
- mkdir -p $COMMONBASE/$DIR
- fi
- adb pull /$FILE $COMMONBASE/$FILE
-done
+DEVICE=espresso3g
+DEVICEBASE=../../../vendor/$VENDOR/$DEVICE
echo "Pulling device specific files..."
-for FILE in `cat proprietary-$DEVICE-files.txt | grep -v ^# | grep -v ^$`; do
+for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do
DIR=`dirname $FILE`
if [ ! -d $DEVICEBASE/$DIR ]; then
mkdir -p $DEVICEBASE/$DIR
@@ -42,4 +31,4 @@ done
./setup-makefiles.sh
-./../../../device/samsung/omap4-common/extract-files.sh
+./../../../device/samsung/espresso-common/extract-files.sh