Enabling the Macro in .bb
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello, I have the source code were the part of the code kept inside the #ifdef SOME_MACRO and what would be the correct place to define SOME_MACRO this macro?note: This define is specific to the recipe. Regrds,Ugesh
Quoted 2 lines · On 2018. május 29., kedd 18:52:35 CEST Ugesh Reddy via bitbake-devel wrote:
Hello, I have the source code were the part of the code kept inside the #ifdef
SOME_MACROand what would be the correct place to defineSOME_MACROthis macro?note: This define is specific to the recipe. Regrds,Ugesh
I'd add it to TARGET_CFLAGS.
I.e TARGET_CFLAGS += "-DSOME_MACRO"