incubator-nuttx/drivers/wireless/ieee802154
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
..
at86rf23x Revert "Makefile: move INCDIROPT to common place (#625)" 2020-03-26 08:50:29 -07:00
mrf24j40 Revert "Makefile: move INCDIROPT to common place (#625)" 2020-03-26 08:50:29 -07:00
xbee Revert "Makefile: move INCDIROPT to common place (#625)" 2020-03-26 08:50:29 -07:00
Kconfig Merged in merlin17/nuttx/xbee (pull request #484) 2017-09-15 14:37:55 +00:00
Make.defs Revert "Makefile: move INCDIROPT to common place (#625)" 2020-03-26 08:50:29 -07:00