[oe] RFC: Remove -e from default EXTRA_OEMAKE
Stanislav Brabec
utx at penguin.cz
Mon May 23 21:26:05 UTC 2011
Hallo.
EXTRA_OEMAKE contains -e by default for years (in bitbake.conf). In my
opinion it causes more bad than good.
It makes live simpler in (rare) cases when Makefile proposes its own
default CFLAGS without chance to easily change them from outside, but it
causes subtle (and often overseen) breakages in many other cases. For
example "-e" in EXTRA_OEMAKE caused breakage of crda (tested with GNU
make 3.82):
ifeq ($(USE_OPENSSL),1)
CFLAGS += -DUSE_OPENSSL
endif
As you can check, there are several hundreds of recipes that need to
override this default. Also autotools.bbclass,
distutils-common-base.bbclass, qmake_base.bbclass and kernel.bbclass
remove "-e" from default make flags. It means that at least 6000 recipes
remove "-e" from EXTRA_OEMAKE.
That is why I think that "-e" should not be a default. If needed, it
would be easy to add it for particular recipes.
--
________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus
More information about the Openembedded-devel
mailing list