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.
This commit is contained in:
parent
b9ace36fcc
commit
5c0e8e88b1
@ -36,6 +36,10 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
DELIM ?= $(strip /)
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
ASRCS =
|
||||
CSRCS = audio.c
|
||||
|
@ -37,7 +37,10 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
DELIM ?= $(strip /)
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" "$(TOPDIR)$(DELIM)sched"}
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(TOPDIR)$(DELIM)sched"}
|
||||
|
||||
# Basic BINFMT source files
|
||||
|
||||
|
@ -157,4 +157,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path src
|
||||
VPATH += :src
|
||||
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)src)
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)src)
|
||||
|
@ -53,4 +53,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path platform$(DELIM)audio
|
||||
VPATH += :platform$(DELIM)audio
|
||||
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)audio)
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)audio)
|
||||
|
@ -24,4 +24,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path platform$(DELIM)camera
|
||||
VPATH += :platform$(DELIM)camera
|
||||
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)camera)
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)camera)
|
||||
|
@ -79,4 +79,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path platform$(DELIM)sensors
|
||||
VPATH += :platform$(DELIM)sensors
|
||||
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)sensors)
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)platform$(DELIM)sensors)
|
||||
|
@ -91,4 +91,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path board
|
||||
VPATH += :board
|
||||
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board)
|
||||
CFLAGS += $(shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board)
|
||||
|
@ -45,5 +45,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path 1wire
|
||||
VPATH += :1wire
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)1wire}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)1wire}
|
||||
endif
|
||||
|
@ -36,6 +36,10 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
DELIM ?= $(strip /)
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
ASRCS =
|
||||
CSRCS =
|
||||
|
@ -121,22 +121,22 @@ endif
|
||||
ifeq ($(CONFIG_DAC),y)
|
||||
DEPPATH += --dep-path analog
|
||||
VPATH += :analog
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
else
|
||||
ifeq ($(CONFIG_ADC),y)
|
||||
DEPPATH += --dep-path analog
|
||||
VPATH += :analog
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
else
|
||||
ifeq ($(CONFIG_COMP),y)
|
||||
DEPPATH += --dep-path analog
|
||||
VPATH += :analog
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
else
|
||||
ifeq ($(CONFIG_OPAMP),y)
|
||||
DEPPATH += --dep-path analog
|
||||
VPATH += :analog
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)analog}
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@ -45,6 +45,6 @@ CSRCS += bchdev_driver.c
|
||||
|
||||
DEPPATH += --dep-path bch
|
||||
VPATH += :bch
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)bch}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)bch}
|
||||
|
||||
endif
|
||||
|
@ -47,5 +47,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path can
|
||||
VPATH += :can
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)can}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)can}
|
||||
endif
|
||||
|
@ -49,5 +49,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path contactless
|
||||
VPATH += :contactless
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)contactless}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)contactless}
|
||||
endif
|
||||
|
@ -43,4 +43,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path crypto
|
||||
VPATH += :crypto
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)crypto}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)crypto}
|
||||
|
@ -54,6 +54,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path i2c
|
||||
VPATH += :i2c
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)i2c}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)i2c}
|
||||
|
||||
endif # CONFIG_I2C
|
||||
|
@ -103,5 +103,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path input
|
||||
VPATH += :input
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)input}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)input}
|
||||
endif
|
||||
|
@ -75,7 +75,7 @@ ifeq ($(CONFIG_IOEXPANDER),y)
|
||||
|
||||
DEPPATH += --dep-path ioexpander
|
||||
VPATH += :ioexpander
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)ioexpander}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)ioexpander}
|
||||
|
||||
else ifeq ($(CONFIG_DEV_GPIO),y)
|
||||
|
||||
@ -83,6 +83,6 @@ else ifeq ($(CONFIG_DEV_GPIO),y)
|
||||
|
||||
DEPPATH += --dep-path ioexpander
|
||||
VPATH += :ioexpander
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)ioexpander}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)ioexpander}
|
||||
|
||||
endif
|
||||
|
@ -157,13 +157,13 @@ endif
|
||||
ifeq ($(CONFIG_LCD),y)
|
||||
DEPPATH += --dep-path lcd
|
||||
VPATH += :lcd
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
else ifeq ($(CONFIG_SLCD),y)
|
||||
DEPPATH += --dep-path lcd
|
||||
VPATH += :lcd
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
else ifeq ($(CONFIG_LCD_OTHER),y)
|
||||
DEPPATH += --dep-path lcd
|
||||
VPATH += :lcd
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||
endif
|
||||
|
@ -49,6 +49,6 @@ CSRCS += losetup.c
|
||||
|
||||
DEPPATH += --dep-path loop
|
||||
VPATH += :loop
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)loop}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)loop}
|
||||
|
||||
endif
|
||||
|
@ -49,6 +49,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path mmcsd
|
||||
VPATH += :mmcsd
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)mmcsd}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)mmcsd}
|
||||
|
||||
endif
|
||||
|
@ -45,6 +45,6 @@ include modem$(DELIM)altair$(DELIM)Make.defs
|
||||
|
||||
DEPPATH += --dep-path modem
|
||||
VPATH += :modem
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)modem}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)modem}
|
||||
|
||||
endif
|
||||
|
@ -45,6 +45,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path modem$(DELIM)altair
|
||||
VPATH += :modem$(DELIM)altair
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)modem}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)modem}
|
||||
|
||||
endif
|
||||
|
@ -62,7 +62,7 @@ endif
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -74,7 +74,7 @@ CSRCS += smps.c
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -86,7 +86,7 @@ CSRCS += powerled.c
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -98,7 +98,7 @@ CSRCS += motor.c
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -136,7 +136,7 @@ endif
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -162,7 +162,7 @@ endif
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
@ -188,7 +188,7 @@ endif
|
||||
|
||||
POWER_DEPPATH := --dep-path power
|
||||
POWER_VPATH := :power
|
||||
POWER_CFLAGS := ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
POWER_CFLAGS := ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)power}
|
||||
|
||||
endif
|
||||
|
||||
|
@ -41,5 +41,5 @@ CSRCS += rptun.c
|
||||
|
||||
DEPPATH += --dep-path rptun
|
||||
VPATH += :rptun
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)rptun}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)rptun}
|
||||
endif
|
||||
|
@ -295,6 +295,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path sensors
|
||||
VPATH += :sensors
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)sensors}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)sensors}
|
||||
|
||||
endif # CONFIG_SENSORS
|
||||
|
@ -54,5 +54,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path spi
|
||||
VPATH += :spi
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)spi}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)spi}
|
||||
endif
|
||||
|
@ -75,5 +75,5 @@ CSRCS += usbdev_trace.c usbdev_trprintf.c
|
||||
|
||||
DEPPATH += --dep-path usbdev
|
||||
VPATH += :usbdev
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbdev}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbdev}
|
||||
endif
|
||||
|
@ -89,4 +89,4 @@ endif
|
||||
|
||||
DEPPATH += --dep-path usbhost
|
||||
VPATH += :usbhost
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbhost}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbhost}
|
||||
|
@ -49,5 +49,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path usbmisc
|
||||
VPATH += :usbmisc
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbmisc}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbmisc}
|
||||
endif
|
||||
|
@ -45,6 +45,6 @@ CSRCS += usbmonitor.c
|
||||
|
||||
DEPPATH += --dep-path usbmonitor
|
||||
VPATH += :usbmonitor
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbmonitor}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)usbmonitor}
|
||||
|
||||
endif
|
||||
|
@ -69,6 +69,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path video
|
||||
VPATH += :video
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)video}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)video}
|
||||
|
||||
endif
|
||||
|
@ -82,5 +82,5 @@ endif
|
||||
|
||||
DEPPATH += --dep-path wireless
|
||||
VPATH += :wireless
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless}
|
||||
endif
|
||||
|
@ -63,6 +63,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)bluetooth
|
||||
VPATH += :wireless$(DELIM)bluetooth
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)bluetooth}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)bluetooth}
|
||||
|
||||
endif # CONFIG_DRIVERS_BLUETOOTH
|
||||
|
@ -60,6 +60,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)ieee80211$(DELIM)bcm43xxx
|
||||
VPATH += :wireless$(DELIM)ieee80211$(DELIM)bcm43xxx
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee80211$(DELIM)bcm43xxx}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee80211$(DELIM)bcm43xxx}
|
||||
|
||||
endif # CONFIG_IEEE80211_BROADCOM_FULLMAC
|
||||
|
@ -49,6 +49,6 @@ include wireless$(DELIM)ieee802154$(DELIM)xbee$(DELIM)Make.defs
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)ieee802154
|
||||
VPATH += :wireless$(DELIM)ieee802154
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154}
|
||||
|
||||
endif # CONFIG_DRIVERS_IEEE802154
|
||||
|
@ -43,6 +43,6 @@ CSRCS += at86rf23x.c
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)ieee802154$(DELIM)at86rf23x
|
||||
VPATH += :wireless$(DELIM)ieee802154$(DELIM)at86rf23x
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)at86rf23x}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)at86rf23x}
|
||||
|
||||
endif # CONFIG_IEEE802154_AT86RF233
|
||||
|
@ -44,6 +44,6 @@ CSRCS += mrf24j40_regops.c mrf24j40.c
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)ieee802154$(DELIM)mrf24j40
|
||||
VPATH += :wireless$(DELIM)ieee802154$(DELIM)mrf24j40
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)mrf24j40}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)mrf24j40}
|
||||
|
||||
endif # CONFIG_IEEE802154_MRF24J40
|
||||
|
@ -43,6 +43,6 @@ CSRCS += xbee_ioctl.c xbee_mac.c xbee_netdev.c xbee.c
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)ieee802154$(DELIM)xbee
|
||||
VPATH += :wireless$(DELIM)ieee802154$(DELIM)xbee
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)xbee}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)ieee802154$(DELIM)xbee}
|
||||
|
||||
endif # CONFIG_IEEE802154_XBEE
|
||||
|
@ -43,6 +43,6 @@ CSRCS += sx127x.c
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)lpwan$(DELIM)sx127x
|
||||
VPATH += :wireless$(DELIM)lpwan$(DELIM)sx127x
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)lpwan$(DELIM)sx127x}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)lpwan$(DELIM)sx127x}
|
||||
|
||||
endif # CONFIG_LPWAN_SX127X
|
||||
|
@ -43,7 +43,7 @@ CSRCS += spirit_netdev.c
|
||||
|
||||
DEPPATH += --dep-path wireless$(DELIM)spirit$(DELIM)drivers
|
||||
VPATH += :wireless$(DELIM)spirit$(DELIM)drivers
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" \
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \
|
||||
$(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)spirit$(DELIM)drivers}
|
||||
|
||||
endif # CONFIG_SPIRIT_NETDEV
|
||||
|
@ -35,5 +35,5 @@
|
||||
|
||||
# Add path to include Spirit header files in CFLAGS
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" \
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \
|
||||
$(TOPDIR)$(DELIM)drivers$(DELIM)wireless$(DELIM)spirit$(DELIM)include}
|
||||
|
@ -44,6 +44,6 @@ CSRCS += spiffs_cache.c spiffs_check.c spiffs_mtd.c
|
||||
|
||||
DEPPATH += --dep-path spiffs/src
|
||||
VPATH += :spiffs/src
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)fs$(DELIM)spiffs$(DELIM)src}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)fs$(DELIM)spiffs$(DELIM)src}
|
||||
|
||||
endif
|
||||
|
@ -38,6 +38,10 @@
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
ASRCS =
|
||||
CSRCS =
|
||||
VPATH =
|
||||
|
@ -51,5 +51,5 @@ CSRCS += nxbe_cursor.c
|
||||
endif
|
||||
|
||||
DEPPATH += --dep-path nxbe
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/nxbe}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/nxbe}
|
||||
VPATH += :nxbe
|
||||
|
@ -111,6 +111,6 @@ CSRCS += nxglib_cursor_backup_24bpp.c nxglib_cursor_backup_32bpp.c
|
||||
endif
|
||||
|
||||
DEPPATH += --dep-path nxglib
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/nxglib}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/nxglib}
|
||||
#VPATH += :nxglib
|
||||
VPATH = nxglib
|
||||
|
@ -39,5 +39,5 @@ CSRCS += nxmu_sendclient.c nxmu_sendclientwindow.c nxmu_server.c
|
||||
CSRCS += nxmu_start.c
|
||||
|
||||
DEPPATH += --dep-path nxmu
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/nxmu}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/nxmu}
|
||||
VPATH += :nxmu
|
||||
|
@ -52,7 +52,7 @@ CSRCS += nxterm_sem.c
|
||||
endif
|
||||
|
||||
DEPPATH += --dep-path nxterm
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/nxterm}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/nxterm}
|
||||
VPATH += :nxterm
|
||||
|
||||
endif
|
||||
|
@ -36,7 +36,7 @@
|
||||
ifeq ($(CONFIG_VNCCLIENT),y)
|
||||
|
||||
DEPPATH += --dep-path vnc/client
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/vnc/client}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/vnc/client}
|
||||
VPATH += :vnc/client
|
||||
|
||||
endif
|
||||
|
@ -43,7 +43,7 @@ CSRCS += vnc_keymap.c
|
||||
endif
|
||||
|
||||
DEPPATH += --dep-path vnc/server
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/vnc/server}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/vnc/server}
|
||||
VPATH += :vnc/server
|
||||
|
||||
endif
|
||||
|
@ -36,6 +36,10 @@
|
||||
-include $(TOPDIR)/.config
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
# Zoneinfo database
|
||||
|
||||
ASRCS =
|
||||
|
@ -56,6 +56,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path iob
|
||||
VPATH += :iob
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)mm$(DELIM)iob}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)mm$(DELIM)iob}
|
||||
|
||||
endif # CONFIG_MM_IOB
|
||||
|
@ -36,6 +36,10 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
DELIM ?= $(strip /)
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
|
||||
ASRCS = $(wildcard *.S)
|
||||
|
@ -95,9 +95,6 @@ endif
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
DEFINE = "$(TOPDIR)\tools\define.bat"
|
||||
INCDIR = "$(TOPDIR)\tools\incdir.bat"
|
||||
else ifeq ($(WINTOOL),y)
|
||||
DEFINE = "$(TOPDIR)/tools/define.sh"
|
||||
INCDIR = "$(TOPDIR)/tools/incdir.sh" -w
|
||||
else
|
||||
DEFINE = "$(TOPDIR)/tools/define.sh"
|
||||
INCDIR = "$(TOPDIR)/tools/incdir.sh"
|
||||
|
@ -36,6 +36,10 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
DELIM ?= $(strip /)
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
INCDIROPT = -w
|
||||
endif
|
||||
|
||||
# Add files to the build
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
|
@ -43,6 +43,6 @@ CSRCS += bt_uuid.c
|
||||
|
||||
DEPPATH += --dep-path bluetooth
|
||||
VPATH += :bluetooth
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)bluetooth}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)bluetooth}
|
||||
|
||||
endif # CONFIG_WIRELESS_BLUETOOTH
|
||||
|
@ -66,6 +66,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path ieee802154
|
||||
VPATH += :ieee802154
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)ieee802154}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)ieee802154}
|
||||
|
||||
endif # CONFIG_WIRELESS_IEEE802154
|
||||
|
@ -45,6 +45,6 @@ endif
|
||||
|
||||
DEPPATH += --dep-path pktradio
|
||||
VPATH += :pktradio
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)pktradio}
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)pktradio}
|
||||
|
||||
endif # CONFIG_WIRELESS_PKTRADIO
|
||||
|
Loading…
Reference in New Issue
Block a user