This solution addresses the requirement to set
#ifdef CONFIG_XXX around a piece of code
For the kernel:
Create a kernel config (in Kconfig) and enable that in the defconfig file for the product.
The config could be called CONFIG_XXX and in code you can do #ifdef CONFIG_XXX
If you are making changes in the board file, ideally � you should be using a different board file for your device/board altogether.
For Userspace:
You can add TARGET_C{PP}FLAGS to:
meta-msm/conf/machine/9615-cdp.conf
If it should be 9615-cdp specific.
meta-msm/conf/distro/msm.conf
If it's for any image that defines msm to be its distro.
No comments:
Post a Comment