How do you change COMPONENT_NAME

william.ferguson.au
Posts: 107
Joined: Wed Jan 02, 2019 8:55 am

How do you change COMPONENT_NAME

Postby william.ferguson.au » Mon Jan 07, 2019 6:37 pm

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?

Who is online

Users browsing this forum: MicroController and 195 guests