Arjdroid / android_kernel_amazon_sloane

LineageOS Kernel Source Code for the Amazon FireTV 2 ("sloane")

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WHAT IS THIS?

Linux Kernel source code for the devices:

  • Amazon Fire TV 2 (sloane)

BUILD INSTRUCTIONS?

Specific sources are separated by releases with it's corresponding number. First, you should clone the project:

    $ git clone -b lineage-16.0 https://github.com/sloane-development/android_kernel_amazon_sloane.git kernel 

At the same level of the "kernel" directory:

Download a prebuilt gcc

    $ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 -b pie-release 

Create KERNEL_OUT dir:

    $ mkdir KERNEL_OUT 

Your directory tree should look like this:

  • kernel
  • aarch64-linux-android-4.9
  • KERNEL_OUT

Finally, build the kernel:

    $ make -C kernel  O=../KERNEL_OUT  ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- sloane_defconfig
    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64  CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android-

You can specify "-j CORES" argument to speed-up your compilation, example:

    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64  CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- -j$(nproc --all)

About

LineageOS Kernel Source Code for the Amazon FireTV 2 ("sloane")

License:Other


Languages

Language:C 96.4%Language:Assembly 1.7%Language:C++ 1.4%Language:Makefile 0.3%Language:Objective-C 0.1%Language:Perl 0.1%Language:Shell 0.0%Language:Python 0.0%Language:Yacc 0.0%Language:SmPL 0.0%Language:Roff 0.0%Language:Lex 0.0%Language:Scilab 0.0%Language:Awk 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:Classic ASP 0.0%Language:Raku 0.0%Language:M4 0.0%Language:sed 0.0%Language:XS 0.0%Language:Batchfile 0.0%