Giter Club home page Giter Club logo

buildscripts's Introduction

Lineage buildscripts

Starting from zero:

mkdir -p ~/android/lineage
cd ~/android/lineage
repo init -u git://github.com/LineageOS/android.git -b lineage-18.1
curl https://raw.githubusercontent.com/codeworkx/buildscripts/lineage-18.1/my_manifest.xml > ~/android/lineage/.repo/local_manifests/my_manifest.xml
repo sync -j20

If you've already synced Lineage-Sources:

curl https://raw.githubusercontent.com/codeworkx/buildscripts/lineage-18.1/my_manifest.xml > /path/to/lineage/.repo/local_manifests/my_manifest.xml
repo sync -j20

Additional files

env.sh - Get's included from build.sh, usefull for running additional commands

Example:

export USE_CCACHE=1
export LC_ALL=C

patches.txt - Lets you auto-apply gerrit/local patches, one change/topic/patch/checkout per line

Example:

# gerrit change
12345

# gerrit topic
topic oreo-bringup

# local patch
local path/to/target patchfile.patch

# checkout
checkout packages/apps/Settings LineageOS/android_packages_apps_Settings refs/changes/1/1/1

# run repo sync
sync

Commands

./build.sh bullhead (full build, eng)
./build.sh bullhead userdebug (full build, userdebug)
./build.sh bullhead boot (bootimage only)
./build.sh bullhead recovery (recoveryimage only)
./build.sh clean (make clean)
./build.sh clobber (make clobber, wipes entire out/ directory)

buildscripts's People

Contributors

atinm avatar codeworkx avatar coolya avatar faultexception avatar helvio88 avatar javifo avatar jbirdvegas avatar jt1134 avatar kaik541 avatar pawitp avatar techmik avatar uberushaximus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.