Advertisement
Guest User

GT-S7580 Source README_platform

a guest
Feb 6th, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. How to build Module for Platform
  2. - It is only for modules are needed to using Android build system.
  3. - Please check its own install information under its folder for other module.
  4.  
  5. [Step to build]
  6. 1. Get android open source.
  7. : version info - Android 4.2.2
  8. ( Download site : http://source.android.com )
  9.  
  10. 2. Copy module that you want to build - to original android open source
  11. If same module exist in android open source, you should replace it. (no overwrite)
  12.  
  13. # It is possible to build all modules at once.
  14.  
  15. 3. In case of 'vendor/broadcom/common/apps/audio/alsaplugin',
  16. 'android/device/samsung/bcm_common/alsa-lib'
  17.  
  18. you should add following text in 'build\target\board\generic\BoardConfig.mk'
  19.  
  20. BOARD_USES_ALSA_AUDIO := true
  21. OPENSOURCE_ALSA_AUDIO : true
  22. BRCM_ALSA_LIB_DIR=device/samsung/bcm_common/alsa-lib
  23.  
  24. 4. You should add module name to 'PRODUCT_PACKAGES' in 'build\target\product\core.mk' as following case.
  25. case 1) e2fsprog : should add 'e2fsck' to PRODUCT_PACKAGES
  26. case 2) libexifa : should add 'libexifa' to PRODUCT_PACKAGES
  27. case 3) libjpega : should add 'libjpega' to PRODUCT_PACKAGES
  28. case 4) KeyUtils : should add 'libkeyutils' to PRODUCT_PACKAGES
  29. case 5) libasound : should add 'libasound' to PRODUCT_PACKAGES
  30. case 6) audio\alsaplugin : should add 'libasound_module_pcm_bcmfilter' to PRODUCT_PACKAGES
  31.  
  32. ex.) [build\target\product\core.mk] - add all module name for case 1 ~ 6 at once
  33. PRODUCT_PACKAGES += \
  34. e2fsck \
  35. libexifa \
  36. libjpega \
  37. libkeyutils \
  38. libasound \
  39. libasound_module_pcm_bcmfilter
  40.  
  41. 5. excute build command
  42. ./build.sh user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement