Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
device
common
Commits
ec7ce5e6
Commit
ec7ce5e6
authored
5 years ago
by
Linux Build Service Account
Browse files
Options
Downloads
Plain Diff
Merge
c2bfa4fe
on remote branch
Change-Id: I80ed674f4b86ed873c0c64c99da3060a941a369e
parents
093c5da7
c2bfa4fe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generate-packages.sh
+16
-12
16 additions, 12 deletions
generate-packages.sh
with
16 additions
and
12 deletions
generate-packages.sh
+
16
−
12
View file @
ec7ce5e6
...
@@ -42,12 +42,11 @@ do
...
@@ -42,12 +42,11 @@ do
FILEDIR_ROOT
=
tmp/vendor/
$MANUFACTURER
/
$ROOTDEVICE
FILEDIR_ROOT
=
tmp/vendor/
$MANUFACTURER
/
$ROOTDEVICE
case
${
ROOTDEVICE
}
in
case
${
ROOTDEVICE
}
in
dragon|marlin|sailfish|taimen|walleye|crosshatch|blueline|bonito|sargo
)
FILEDIR_ROOT
=
tmp/vendor/
${
MANUFACTURER
}
_devices/
$ROOTDEVICE
;;
hikey960
)
hikey960
)
FILEDIR
=
tmp/vendor/linaro/
$DEVICE
/
$COMPANY
/proprietary
FILEDIR
=
tmp/vendor/linaro/
$DEVICE
/
$COMPANY
/proprietary
MAKEFILEDIR
=
tmp/vendor/linaro/
$DEVICE
/
$COMPANY
;;
MAKEFILEDIR
=
tmp/vendor/linaro/
$DEVICE
/
$COMPANY
;;
*
)
;;
*
)
FILEDIR_ROOT
=
tmp/vendor/
${
MANUFACTURER
}
_devices/
$ROOTDEVICE
;;
esac
esac
mkdir
-p
${
FILEDIR
}
mkdir
-p
${
FILEDIR
}
...
@@ -142,19 +141,24 @@ do
...
@@ -142,19 +141,24 @@ do
# Move device-vendor-sargo.mk under bonito directory so that it can
# Move device-vendor-sargo.mk under bonito directory so that it can
# be inherited by device/google/bonito/aosp_sargo.mk
# be inherited by device/google/bonito/aosp_sargo.mk
mv
${
FILEDIR_ROOT
}
/proprietary/device-vendor.mk
${
FILEDIR_ROOT_SHARE
}
mv
${
FILEDIR_ROOT
}
/proprietary/device-vendor.mk
${
FILEDIR_ROOT_SHARE
}
elif
[[
${
ROOTDEVICE
}
==
flame
]]
then
FILEDIR_ROOT_SHARE
=
tmp/vendor/
${
MANUFACTURER
}
_devices/coral/proprietary
mkdir
-p
${
FILEDIR_ROOT_SHARE
}
# flame shares BoardConfigVendor.mk with its sis-in-law' coral
mv
${
FILEDIR_ROOT
}
/proprietary/BoardConfigVendor.mk
${
FILEDIR_ROOT_SHARE
}
# Move device-vendor-flame.mk under coral directory so that it can
# be inherited by device/google/coral/aosp_flame.mk
mv
${
FILEDIR_ROOT
}
/proprietary/device-vendor.mk
${
FILEDIR_ROOT_SHARE
}
fi
fi
if
[[
${
COMPANY
}
==
qcom
]]
if
[[
${
COMPANY
}
==
qcom
]]
then
then
case
${
ROOTDEVICE
}
in
if
[[
-e
"
${
MAKEFILEDIR
}
/Android.mk"
]]
marlin|sailfish|taimen|walleye|crosshatch|blueline|bonito|sargo
)
then
if
[[
-e
"
${
MAKEFILEDIR
}
/Android.mk"
]]
mv
${
MAKEFILEDIR
}
/Android.mk
${
FILEDIR
}
/
then
fi
mv
${
MAKEFILEDIR
}
/Android.mk
${
FILEDIR
}
/
fi
;;
*
)
;;
esac
fi
fi
echo
\ \
Generating self-extracting script
echo
\ \
Generating self-extracting script
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment