Page 1 of 1

How do you change COMPONENT_NAME

Posted: Mon Jan 07, 2019 6:37 pm
by william.ferguson.au
I have source in a top level folder (called "src") that I have included by setting

Code: Select all

EXTRA_COMPONENT_DIRS := src
in the Makefile

It's there for legacy reasons.

While it gets built, it gets built into build/src. Is there a way for me to change the COMPONENT_NAME for the src folder so that it gets built elsewhere. Eg build/my_internal_library.

It doesn't look like you can change COMPONENT_NAME name in the component.mk for src (according to https://github.com/espressif/esp-idf/bl ... system.rst) and in fact doing so has no discernible effect.

Other than renaming my folder do I have another option?