This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Purpose: Script for building AOSP code and Linux kernel for walleye using open-source toolchains. | |
# Author: [email protected] | |
# License: Gnu GPL v. 2 | |
# License is same as Linux kernel license, since the code helps compile the Linux kernel for a device | |
# Change these directory paths to point to your aosp and NDK folders. | |
export AOSP=~/src/aosp | |
export CROSS_COMPILE=~/ndk/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- | |
# Change these if you are building for something other than walleye (Pixel 2) as needed. | |
export KERNELNAME=wahoo |