Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. 5.4.1 Kernel config
  2. Once the kernel has built you can check the kernel config. You can use the Mer kernel config checker:
  3. HABUILD_SDK $
  4. cd $ANDROID_ROOT
  5. hybris/mer-kernel-check/mer_verify_kernel_config \
  6. ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config
  7. Apply listed modifications to the defconfig file that CM is using. Which one? It’s different for every device, most
  8. likely first:
  9. • Check the value of
  10. TARGET_KERNEL_CONFIG
  11. under $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk
  12. • Examine the output of
  13. make bootimage
  14. for which defconfig is taken when you’re building kernel, e.g.:
  15. make -C kernel/lge/hammerhead ... cyanogenmod_hammerhead_defconfig
  16. • Check CM kernel’s commit history of the
  17. arch/arm/configs
  18. folder, look for defconfig
  19. If you are in a rush, get rid only of
  20. ERROR
  21. cases first, but don’t forget to come back to the
  22. WARNING
  23. ones too.
  24. After you’ll have applied the needed changes, re-run
  25. make hybris-boot
  26. and re-verify. Lather, rinse, repeat
  27. :) Run also
  28. make hybris-recovery
  29. in the end when no more errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement