GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

Build GloDroid for R #18

Closed rsglobal closed 4 years ago

rsglobal commented 4 years ago

This information isn't relevant anymore!!!!

mkdir -p GloDroid
cd GloDroid
repo init -u https://github.com/glodroid/glodroid_manifest -b next
repo sync -cq

pushd external/selinux
patch -p1 <<EOF
--- a/secilc/secilc.c
+++ b/secilc/secilc.c
@@ -270,2 +270,3 @@ int main(int argc, char *argv[])

+               if (file_size > 0) {
                buffer = malloc(file_size);
@@ -285,2 +286,3 @@ int main(int argc, char *argv[])
                }
+               }

EOF
popd

source ./build/envsetup.sh
lunch
# After that you have to select your device from the list
make images
rsglobal commented 4 years ago

GloDroid BSP configuration was fully aligned with Android-11 requirements and doesn't require additional steps to build. Closing.