incubator-nuttx/drivers/i2c
Gregory Nutt 5c0e8e88b1 Revert "Makefile: move INCDIROPT to common place (#625)"
This reverts commit b9ace36fcc.

This change was added by PR 625 but has a serious logic flaw.  It removes all occurrences of INCDIROPT and replaces it with a definition in tools/Config.mk:

    else ifeq ($(WINTOOL),y)
      DEFINE = "$(TOPDIR)/tools/define.sh"
      INCDIR = "$(TOPDIR)/tools/incdir.sh" -w

This logic flaw is the Config.mk is included in all Make.defs files BEFORE WINTOOL is defined.  As a result, the definition is wrong in many places when building under Cygwin with a Windows native toolchain.
2020-03-26 08:50:29 -07:00
..
Kconfig drivers/*/Kconfig: Consolidate driver Kconfig Files. 2020-02-15 15:19:11 +01:00
Make.defs Revert "Makefile: move INCDIROPT to common place (#625)" 2020-03-26 08:50:29 -07:00
i2c_driver.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
i2c_read.c
i2c_write.c
i2c_writeread.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
pca9540bdp.c Cosmetic changes from review of last PR. 2018-03-05 10:22:22 -06:00
pca9540bdp.h Cosmetic changes from review of last PR. 2018-03-05 10:22:22 -06:00