SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

Why does 'common.mk' convert build directory path to lowercase? #759

Open ghost opened 3 years ago

ghost commented 3 years ago

I do not quite understand the reasoning behind using:

image

Linux file-system is case sensitive, thus if you want to provide a different definition for BUILD_DIR that happens to have capital letters in it - it is going to build the files in a completely different directory than what you would expect, because:

image

Unless I have missed something that is obvious - I think $(call lc [...]) could be completely removed from common.mk.

Commit that introduced this problem: https://github.com/SuperHouse/esp-open-rtos/commit/f34e229bbc191f7040d41e8bb38946af33b47060