Advertisement
Captain_Throwback

Readme.txt pme kernel source

May 20th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. defconfig file: msm_defconfig
  2.  
  3. Download:
  4. ========
  5. Download the corresponding official android toolchain:
  6.  
  7. linux-x86:
  8. git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
  9.  
  10. darwin-x86:
  11. git clone https://android.googlesource.com/platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9
  12.  
  13. Build the kernel:
  14. =================
  15. set the following environment variables:
  16.  
  17. $ mkdir -p out
  18. $ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out msm_defconfig
  19. $ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out -j16
  20.  
  21. Output binary files:
  22. ====================
  23. After the build process finishes, the kernel image will be located at out/arch/arm64/boot/Image.gz-dtb
  24.  
  25.  
  26. For additional information:
  27. ===========================
  28. http://htcdev.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement