OVMS3-idf/tools
Ivan Grokhotkov 1e1450bf5d 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 21:58:03 +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 21:58:03 +08:00
cmake cmake: fix the creation dummy main to avoid rebuilding 2018-11-15 01:12:50 +08:00
esp_app_trace esp32: Adds functionality for application tracing over JTAG 2017-04-17 23:26:29 +03:00
kconfig kconfig: fix compatibility with very old versions of flex 2019-02-28 21:58:03 +08:00
kconfig_new kconfiglib: Allow CONFIG_xxx= to disable booleans 2018-08-20 17:18:05 +10:00
tiny-test-fw tiny-test-fw: invoke expect callbacks in order of appearance 2018-12-28 09:56:15 +08:00
unit-test-app unit tests: Only initialise tcpip_adapter() when needed by the test 2018-12-28 09:56:15 +08:00
windows Merge branch 'release/v3.1' into feature/cmake_v3.1 2018-08-17 14:14:10 +10: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 esp_err_to_name.py: guess IDF_PATH if not set in environement 2018-06-25 13:43:32 +08:00
idf.py tools: fix idf.py monitor for MSYS 2018-12-05 10:43:46 +01:00
idf_monitor.py tools: Print useful error message from idf_monitor when toolchain isn't available 2018-12-12 09:46:13 +01:00
idf_size.py cmake: Fix idf_size.py merge errors 2018-05-01 17:27:39 +10:00