diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:19:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:19:02 -0600 |
commit | 1b6ab008c156bdb619306c20852c838ccebc5bec (patch) | |
tree | 674d9cb2da030fa75f6cbacb79900f6ce459d546 /apps/examples | |
parent | ccf351b1e299b1d6387f825bbab06d8d3cc7c80a (diff) | |
download | nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.gz nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.bz2 nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.zip |
Add generic setup logic to every Makefile that installs a program. Each will need customization
Diffstat (limited to 'apps/examples')
65 files changed, 585 insertions, 0 deletions
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile index d594ce2dd..2f20ba4b2 100644 --- a/apps/examples/adc/Makefile +++ b/apps/examples/adc/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Touchscreen built-in application info diff --git a/apps/examples/buttons/Makefile b/apps/examples/buttons/Makefile index 2ba16674e..eb8b1b7ff 100644 --- a/apps/examples/buttons/Makefile +++ b/apps/examples/buttons/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Buttons built-in application info diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile index 266655fb2..6979a829c 100644 --- a/apps/examples/can/Makefile +++ b/apps/examples/can/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Touchscreen built-in application info diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index 6107e5860..e0c612d2d 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -68,6 +68,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/configdata/Makefile b/apps/examples/configdata/Makefile index c60befecc..e9f9f1542 100644 --- a/apps/examples/configdata/Makefile +++ b/apps/examples/configdata/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/cpuhog/Makefile b/apps/examples/cpuhog/Makefile index 89210c8a3..0ea799a96 100644 --- a/apps/examples/cpuhog/Makefile +++ b/apps/examples/cpuhog/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Built-in application info diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile index d044a025c..45fba2397 100644 --- a/apps/examples/dhcpd/Makefile +++ b/apps/examples/dhcpd/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # DHCPD built-in application info diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile index 73ef22e77..127903956 100644 --- a/apps/examples/discover/Makefile +++ b/apps/examples/discover/Makefile @@ -65,6 +65,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile index 782d75a25..7f1df32e1 100644 --- a/apps/examples/elf/Makefile +++ b/apps/examples/elf/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . --dep-path tests # Build targets diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index 915ce35af..77deaa66d 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -67,6 +67,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile index 361188857..75729d3fc 100644 --- a/apps/examples/ftpc/Makefile +++ b/apps/examples/ftpc/Makefile @@ -62,6 +62,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile index dbbab33f3..daf514adb 100644 --- a/apps/examples/ftpd/Makefile +++ b/apps/examples/ftpd/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile index fff6cbc9b..2c719671d 100644 --- a/apps/examples/hidkbd/Makefile +++ b/apps/examples/hidkbd/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/i2schar/Makefile b/apps/examples/i2schar/Makefile index b4c17d502..7f1846414 100644 --- a/apps/examples/i2schar/Makefile +++ b/apps/examples/i2schar/Makefile @@ -64,6 +64,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Touchscreen built-in application info diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile index fa1f0df7d..c1847a73a 100644 --- a/apps/examples/igmp/Makefile +++ b/apps/examples/igmp/Makefile @@ -62,6 +62,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile index 71f4e27a1..26eec111f 100644 --- a/apps/examples/json/Makefile +++ b/apps/examples/json/Makefile @@ -62,6 +62,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/keypadtest/Makefile b/apps/examples/keypadtest/Makefile index 0eacf00d8..4920abf64 100644 --- a/apps/examples/keypadtest/Makefile +++ b/apps/examples/keypadtest/Makefile @@ -64,6 +64,15 @@ APPNAME = keypadtest PRIORITY = SCHED_PRIORITY_DEFAULT STACKSIZE = 2048 +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/lcdrw/Makefile b/apps/examples/lcdrw/Makefile index b66e6989b..90c2c9cae 100644 --- a/apps/examples/lcdrw/Makefile +++ b/apps/examples/lcdrw/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # LCD R/W built-in application info diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile index e69f8c1f2..546d446ab 100644 --- a/apps/examples/mm/Makefile +++ b/apps/examples/mm/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile index 35bcd8d1b..35dd5e420 100644 --- a/apps/examples/modbus/Makefile +++ b/apps/examples/modbus/Makefile @@ -64,6 +64,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile index 880547f07..fe49ad1f1 100644 --- a/apps/examples/mount/Makefile +++ b/apps/examples/mount/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/mtdpart/Makefile b/apps/examples/mtdpart/Makefile index e3a7b429b..37823f2af 100755 --- a/apps/examples/mtdpart/Makefile +++ b/apps/examples/mtdpart/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/netpkt/Makefile b/apps/examples/netpkt/Makefile index 0d2be00c1..6b933fe01 100644 --- a/apps/examples/netpkt/Makefile +++ b/apps/examples/netpkt/Makefile @@ -64,6 +64,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile index 1723b06d1..d45161fe7 100644 --- a/apps/examples/nettest/Makefile +++ b/apps/examples/nettest/Makefile @@ -83,6 +83,15 @@ HOSTOBJEXT ?= .hobj HOST_OBJS = $(HOST_SRCS:.c=$(HOSTOBJEXT)) HOST_BIN = host +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NET test built-in application info diff --git a/apps/examples/nrf24l01_term/Makefile b/apps/examples/nrf24l01_term/Makefile index 367b7f285..a41c01727 100644 --- a/apps/examples/nrf24l01_term/Makefile +++ b/apps/examples/nrf24l01_term/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # built-in application info diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile index 969603d36..133ecf3c0 100644 --- a/apps/examples/null/Makefile +++ b/apps/examples/null/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile index 567c75e97..a2352c46d 100644 --- a/apps/examples/nx/Makefile +++ b/apps/examples/nx/Makefile @@ -61,6 +61,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NX built-in application info diff --git a/apps/examples/nxconsole/Makefile b/apps/examples/nxconsole/Makefile index 298da8d6d..910a40122 100644 --- a/apps/examples/nxconsole/Makefile +++ b/apps/examples/nxconsole/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile index cd441f332..1167faeb7 100644 --- a/apps/examples/nxffs/Makefile +++ b/apps/examples/nxffs/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile index 129dedede..9e648fa32 100644 --- a/apps/examples/nxflat/Makefile +++ b/apps/examples/nxflat/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile index c49468515..52e0b8265 100644 --- a/apps/examples/nxhello/Makefile +++ b/apps/examples/nxhello/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NXHELLO built-in application info diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile index 19bb84856..33dff36ed 100644 --- a/apps/examples/nximage/Makefile +++ b/apps/examples/nximage/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NXIMAGE built-in application info diff --git a/apps/examples/nxlines/Makefile b/apps/examples/nxlines/Makefile index 204487ebb..1b1d36f76 100644 --- a/apps/examples/nxlines/Makefile +++ b/apps/examples/nxlines/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NXLINES built-in application info diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile index 8e729d006..287adc690 100644 --- a/apps/examples/nxtext/Makefile +++ b/apps/examples/nxtext/Makefile @@ -62,6 +62,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NXTEXT built-in application info diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index ed91c03f4..09286c640 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -113,6 +113,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile index 2c244c947..aae97dc9c 100644 --- a/apps/examples/pashello/Makefile +++ b/apps/examples/pashello/Makefile @@ -66,6 +66,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile index 80e653ca5..0f1734517 100644 --- a/apps/examples/pipe/Makefile +++ b/apps/examples/pipe/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile index 11f8e5c41..7804ed4c7 100644 --- a/apps/examples/poll/Makefile +++ b/apps/examples/poll/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/posix_spawn/Makefile b/apps/examples/posix_spawn/Makefile index 9a447efa7..7a7a1609f 100644 --- a/apps/examples/posix_spawn/Makefile +++ b/apps/examples/posix_spawn/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . --dep-path filesystem # Build targets diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index bcc68592a..60c31ff0b 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # PWM built-in application info diff --git a/apps/examples/qencoder/Makefile b/apps/examples/qencoder/Makefile index 4f0a2f91b..afd1174c2 100644 --- a/apps/examples/qencoder/Makefile +++ b/apps/examples/qencoder/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Quadrature Encoder built-in application info diff --git a/apps/examples/random/Makefile b/apps/examples/random/Makefile index 1824fb985..fb02245c0 100644 --- a/apps/examples/random/Makefile +++ b/apps/examples/random/Makefile @@ -62,6 +62,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile index 41c2b86d1..8360328ba 100644 --- a/apps/examples/relays/Makefile +++ b/apps/examples/relays/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Buttons built-in application info diff --git a/apps/examples/rgmp/Makefile b/apps/examples/rgmp/Makefile index e01dc7b31..7adc7d0e0 100644 --- a/apps/examples/rgmp/Makefile +++ b/apps/examples/rgmp/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile index 1ab622e38..d99395799 100644 --- a/apps/examples/romfs/Makefile +++ b/apps/examples/romfs/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile index f5fe82808..f3a34283c 100644 --- a/apps/examples/sendmail/Makefile +++ b/apps/examples/sendmail/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/serialblaster/Makefile b/apps/examples/serialblaster/Makefile index 8628953e4..c699394f0 100644 --- a/apps/examples/serialblaster/Makefile +++ b/apps/examples/serialblaster/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Built-in application info diff --git a/apps/examples/serialrx/Makefile b/apps/examples/serialrx/Makefile index cb3f93c17..fb8b9b3f1 100644 --- a/apps/examples/serialrx/Makefile +++ b/apps/examples/serialrx/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Built-in application info diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile index 60baf2e79..2003f4a17 100644 --- a/apps/examples/serloop/Makefile +++ b/apps/examples/serloop/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/slcd/Makefile b/apps/examples/slcd/Makefile index 1b918e0fc..fc3e1630c 100644 --- a/apps/examples/slcd/Makefile +++ b/apps/examples/slcd/Makefile @@ -64,6 +64,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/smart/Makefile b/apps/examples/smart/Makefile index a1ad9e48b..9a292b456 100644 --- a/apps/examples/smart/Makefile +++ b/apps/examples/smart/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/smart_test/Makefile b/apps/examples/smart_test/Makefile index 8c8c679fa..9c0284089 100644 --- a/apps/examples/smart_test/Makefile +++ b/apps/examples/smart_test/Makefile @@ -67,6 +67,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/tcpecho/Makefile b/apps/examples/tcpecho/Makefile index b75f05c61..aedf94b90 100644 --- a/apps/examples/tcpecho/Makefile +++ b/apps/examples/tcpecho/Makefile @@ -65,6 +65,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/telnetd/Makefile b/apps/examples/telnetd/Makefile index e25cd9725..d9d3a2fc6 100644 --- a/apps/examples/telnetd/Makefile +++ b/apps/examples/telnetd/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Buttons built-in application info diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile index f00e212ba..3416a2fed 100644 --- a/apps/examples/thttpd/Makefile +++ b/apps/examples/thttpd/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/tiff/Makefile b/apps/examples/tiff/Makefile index 203d2fedd..e04f881d1 100644 --- a/apps/examples/tiff/Makefile +++ b/apps/examples/tiff/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # TIFF built-in application info diff --git a/apps/examples/touchscreen/Makefile b/apps/examples/touchscreen/Makefile index 0ad952431..77630a7b5 100644 --- a/apps/examples/touchscreen/Makefile +++ b/apps/examples/touchscreen/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Touchscreen built-in application info diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile index 242eda867..c2cf76e47 100644 --- a/apps/examples/udp/Makefile +++ b/apps/examples/udp/Makefile @@ -80,6 +80,15 @@ endif HOST_OBJS = $(HOST_SRCS:.c=.o) HOST_BIN = host +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile index 4f8afa6fb..68f3bfac4 100644 --- a/apps/examples/usbserial/Makefile +++ b/apps/examples/usbserial/Makefile @@ -57,6 +57,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile index a1c7479ea..7cd63dde7 100644 --- a/apps/examples/usbterm/Makefile +++ b/apps/examples/usbterm/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Built-in application info diff --git a/apps/examples/watchdog/Makefile b/apps/examples/watchdog/Makefile index f9c01d178..36b108931 100644 --- a/apps/examples/watchdog/Makefile +++ b/apps/examples/watchdog/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Touchscreen built-in application info diff --git a/apps/examples/webserver/Makefile b/apps/examples/webserver/Makefile index f36022d30..a6c520079 100644 --- a/apps/examples/webserver/Makefile +++ b/apps/examples/webserver/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile index f8ceac520..889f8e5f0 100644 --- a/apps/examples/wget/Makefile +++ b/apps/examples/wget/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile index 20a40b887..214b79347 100644 --- a/apps/examples/wgetjson/Makefile +++ b/apps/examples/wgetjson/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Buttons built-in application info diff --git a/apps/examples/xmlrpc/Makefile b/apps/examples/xmlrpc/Makefile index 4be5b7e1b..ad6e2564a 100644 --- a/apps/examples/xmlrpc/Makefile +++ b/apps/examples/xmlrpc/Makefile @@ -65,6 +65,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # Common build |