Skip to content

StarKissed/SM-F711B-Kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

################################################################################

  1. How to Build - get Toolchain From android git serveru, codesourcery and etc .. - gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android- From Qualcomm developer network (https://developer.qualcomm.com/software/snapdragon-llvm-compiler-android/tools) - llvm-arm-toolchain-ship/10.0/

     - make output folder 
             EX) OUTPUT_DIR=out
             $ mkdir out
    
     - edit Makefile
             edit "CROSS_COMPILE" to right toolchain path(You downloaded).
                     EX)  CROSS_COMPILE=<android platform directory you download>/android/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
                     Ex)  CROSS_COMPILE=/usr/local/toolchain/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android- // check the location of toolchain
             edit "REAL_CC" to right toolchain path(You downloaded).
                     EX)  CC=<android platform directory you download>/android/vendor/qcom/proprietary/llvm-arm-toolchain-ship/10.0/bin/clang
             edit "CLANG_TRIPLE" to right path(You downloaded).
    
     - to Build
             $ export ARCH=arm64
             $ make -C $(pwd) O=$(pwd)/out DTC_EXT=$(pwd)/tools/dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y CLANG_TRIPLE=aarch64-linux-gnu- vendor/b2q_eur_openx_defconfig
             $ make -C $(pwd) O=$(pwd)/out DTC_EXT=$(pwd)/tools/dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y CLANG_TRIPLE=aarch64-linux-gnu-
    
  2. Output files - Kernel : arch/arm64/boot/Image - module : drivers//.ko

  3. How to Clean Change to OUTPUT_DIR folder EX) /home/dpi/qb5_8815/workspace/P4_1716/android/out/target/product/b2q/out $ make clean ################################################################################

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published