Hi, i wanted to add a compiler macro (NEW_MACRO) in order to compile all the
code hidden beetween
#ifdef NEW_MACRO
#endif
in all my recipes. I think that the right place to do that is in bitbake.conf
file present under poky/meta/conf but when i try to do:
TARGET_CPPFLAGS += "-MMC_WRITE"
I get
Hi,
i tried to add CFLAGS += "-MMC_WRITE"
(i dont know if -DMMC_WRITE was a typo or not and tryed both)
i dont get any error but in my recipes the code wrapped in
#ifdef MMC_WRITE
#endif
is not compiled... i even tried to add a sintax error between the ifdef so, if
compiler see MMC_WRITE macro
Hi,
i'm trying to add some #ifdef on my device tree in order to separate two
different imports.
#include "imx6q.dtsi"
#ifdef MMC_WRITE
#include "imx6qdl-sabre-mmc.dtsi"
#elif
#include "imx6qdl-sabre-sd.dtsi"
#endif
where can i add a macro to select what kind of device tree i must import?
in /ar