OVMS3-idf/tools
Ivan Grokhotkov 8bbd99ad9e make: fix issues related to EXTRA_COMPONENT_DIRS
1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.

For example:

    main/
        component.mk
        main.c
        test/
            component.mk
            test_main.c

Would compile test_main.c and link libtest.a.

2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.

For example:

    esp/
        esp-idf/
        esp32/
            (random stuff)
        mycomponent/
            component.mk
            mycomponent.c
        myproject/
            main/
            Makefile

and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.

3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.

For example:

    my_components/
        my_component/
            component.mk
            my_component.c
        esp32/
            (some random stuff)

and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.
2019-02-28 20:38:31 +08:00
..
catch move Catch framework header into tools directory 2017-04-17 11:01:18 +08:00
ci make: fix issues related to EXTRA_COMPONENT_DIRS 2019-02-28 20:38:31 +08:00
cmake cmake: only generate sdkconfig on top level project 2019-01-25 14:11:35 +08:00
esp_app_trace esp32: Adds functionality for application tracing over JTAG 2017-04-17 23:26:29 +03:00
esp_prov protocomm : version endpoint behavior simplified 2019-02-18 08:18:44 +00:00
kconfig kconfig: fix compatibility with very old versions of flex 2019-02-28 20:38:31 +08:00
kconfig_new confgen: disable config override warnings 2019-01-29 20:50:51 +08:00
mass_mfg util: Update docs as per review comments 2018-10-12 11:04:49 +05:30
test_idf_monitor tools: Support Python3 in idf_monitor 2018-08-24 08:12:19 +02:00
test_idf_size tools: Support Python 3 in idf_size.py 2018-08-27 13:39:07 +02:00
tiny-test-fw mqtt tests: connect to local broker when running in CI to make the tests more reliable 2019-01-21 06:36:02 +01:00
unit-test-app unit-test-app: fix the RegEx to detect test case: 2018-12-07 02:04:55 +00:00
windows Sign IDF Tools installer with 'osslsigncode', update to V1.2 2018-10-18 09:56:16 +11:00
check_python_dependencies.py python: Add check if current python is inside virtual environment 2019-01-10 09:37:21 +01:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
format-minimal.sh docs: add style guide 2016-11-03 18:41:00 +08:00
format.sh esp32: ReformatReformat panic.c (remove tabs, etc) 2016-12-07 13:25:56 -08:00
gen_esp_err_to_name.py tools: Support overwrite of includes for gen_esp_err_to_name.py 2018-09-21 14:09:37 +08:00
idf.py tools: fix idf.py monitor for MSYS 2018-12-05 10:48:30 +01:00
idf_monitor.py tools: Print useful error message from idf_monitor when toolchain isn't available 2018-12-13 22:03:25 +01:00
idf_size.py Merge branch 'master' into feature/cmake 2018-08-30 18:52:31 +08:00
toolchain_versions.mk docs: generate toolchain download links 2018-09-20 18:53:14 +08:00