summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-06 13:19:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-06 13:19:02 -0600
commit1b6ab008c156bdb619306c20852c838ccebc5bec (patch)
tree674d9cb2da030fa75f6cbacb79900f6ce459d546 /apps
parentccf351b1e299b1d6387f825bbab06d8d3cc7c80a (diff)
downloadpx4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.gz
px4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.bz2
px4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.zip
Add generic setup logic to every Makefile that installs a program. Each will need customization
Diffstat (limited to 'apps')
-rw-r--r--apps/examples/adc/Makefile9
-rw-r--r--apps/examples/buttons/Makefile9
-rw-r--r--apps/examples/can/Makefile9
-rw-r--r--apps/examples/cc3000/Makefile9
-rw-r--r--apps/examples/configdata/Makefile9
-rw-r--r--apps/examples/cpuhog/Makefile9
-rw-r--r--apps/examples/dhcpd/Makefile9
-rw-r--r--apps/examples/discover/Makefile9
-rw-r--r--apps/examples/elf/Makefile9
-rw-r--r--apps/examples/flash_test/Makefile9
-rw-r--r--apps/examples/ftpc/Makefile9
-rw-r--r--apps/examples/ftpd/Makefile9
-rw-r--r--apps/examples/hidkbd/Makefile9
-rw-r--r--apps/examples/i2schar/Makefile9
-rw-r--r--apps/examples/igmp/Makefile9
-rw-r--r--apps/examples/json/Makefile9
-rw-r--r--apps/examples/keypadtest/Makefile9
-rw-r--r--apps/examples/lcdrw/Makefile9
-rw-r--r--apps/examples/mm/Makefile9
-rw-r--r--apps/examples/modbus/Makefile9
-rw-r--r--apps/examples/mount/Makefile9
-rwxr-xr-xapps/examples/mtdpart/Makefile9
-rw-r--r--apps/examples/netpkt/Makefile9
-rw-r--r--apps/examples/nettest/Makefile9
-rw-r--r--apps/examples/nrf24l01_term/Makefile9
-rw-r--r--apps/examples/null/Makefile9
-rw-r--r--apps/examples/nx/Makefile9
-rw-r--r--apps/examples/nxconsole/Makefile9
-rw-r--r--apps/examples/nxffs/Makefile9
-rw-r--r--apps/examples/nxflat/Makefile9
-rw-r--r--apps/examples/nxhello/Makefile9
-rw-r--r--apps/examples/nximage/Makefile9
-rw-r--r--apps/examples/nxlines/Makefile9
-rw-r--r--apps/examples/nxtext/Makefile9
-rw-r--r--apps/examples/ostest/Makefile9
-rw-r--r--apps/examples/pashello/Makefile9
-rw-r--r--apps/examples/pipe/Makefile9
-rw-r--r--apps/examples/poll/Makefile9
-rw-r--r--apps/examples/posix_spawn/Makefile9
-rw-r--r--apps/examples/pwm/Makefile9
-rw-r--r--apps/examples/qencoder/Makefile9
-rw-r--r--apps/examples/random/Makefile9
-rw-r--r--apps/examples/relays/Makefile9
-rw-r--r--apps/examples/rgmp/Makefile9
-rw-r--r--apps/examples/romfs/Makefile9
-rw-r--r--apps/examples/sendmail/Makefile9
-rw-r--r--apps/examples/serialblaster/Makefile9
-rw-r--r--apps/examples/serialrx/Makefile9
-rw-r--r--apps/examples/serloop/Makefile9
-rw-r--r--apps/examples/slcd/Makefile9
-rw-r--r--apps/examples/smart/Makefile9
-rw-r--r--apps/examples/smart_test/Makefile9
-rw-r--r--apps/examples/tcpecho/Makefile9
-rw-r--r--apps/examples/telnetd/Makefile9
-rw-r--r--apps/examples/thttpd/Makefile9
-rw-r--r--apps/examples/tiff/Makefile9
-rw-r--r--apps/examples/touchscreen/Makefile9
-rw-r--r--apps/examples/udp/Makefile9
-rw-r--r--apps/examples/usbserial/Makefile9
-rw-r--r--apps/examples/usbterm/Makefile9
-rw-r--r--apps/examples/watchdog/Makefile9
-rw-r--r--apps/examples/webserver/Makefile9
-rw-r--r--apps/examples/wget/Makefile9
-rw-r--r--apps/examples/wgetjson/Makefile9
-rw-r--r--apps/examples/xmlrpc/Makefile9
-rw-r--r--apps/graphics/screenshot/Makefile9
-rw-r--r--apps/netutils/thttpd/Makefile9
-rw-r--r--apps/system/cdcacm/Makefile9
-rw-r--r--apps/system/composite/Makefile9
-rw-r--r--apps/system/flash_eraseall/Makefile9
-rw-r--r--apps/system/free/Makefile9
-rw-r--r--apps/system/hex2bin/Makefile9
-rw-r--r--apps/system/i2c/Makefile9
-rw-r--r--apps/system/install/Makefile9
-rw-r--r--apps/system/mdio/Makefile9
-rw-r--r--apps/system/nxplayer/Makefile9
-rw-r--r--apps/system/poweroff/Makefile9
-rw-r--r--apps/system/prun/Makefile9
-rw-r--r--apps/system/ramtest/Makefile9
-rw-r--r--apps/system/ramtron/Makefile9
-rw-r--r--apps/system/sdcard/Makefile9
-rw-r--r--apps/system/sudoku/Makefile9
-rw-r--r--apps/system/sysinfo/Makefile9
-rw-r--r--apps/system/usbmsc/Makefile9
-rw-r--r--apps/system/vi/Makefile9
-rw-r--r--apps/system/zmodem/Makefile9
86 files changed, 774 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
diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile
index aae1389d0..02b1a14a4 100644
--- a/apps/graphics/screenshot/Makefile
+++ b/apps/graphics/screenshot/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 .
# TIFF screen built-in application info
diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile
index 964989491..8f341779f 100644
--- a/apps/netutils/thttpd/Makefile
+++ b/apps/netutils/thttpd/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 .
# CGI binaries (examples only, not used in the build)
diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile
index 74e81c7b2..a9e260750 100644
--- a/apps/system/cdcacm/Makefile
+++ b/apps/system/cdcacm/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 .
# USB CDC/ACM built-in application info
diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile
index 8a13a623e..ecc3e9a71 100644
--- a/apps/system/composite/Makefile
+++ b/apps/system/composite/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 .
# USB storage built-in application info
diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile
index d03a7561b..eac6c9532 100644
--- a/apps/system/flash_eraseall/Makefile
+++ b/apps/system/flash_eraseall/Makefile
@@ -72,6 +72,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/system/free/Makefile b/apps/system/free/Makefile
index d7a42c050..4bddd7a8e 100644
--- a/apps/system/free/Makefile
+++ b/apps/system/free/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/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile
index 48a984033..d150fa1a0 100644
--- a/apps/system/hex2bin/Makefile
+++ b/apps/system/hex2bin/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 .
VPATH =
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile
index de3dc21d4..c14d88890 100644
--- a/apps/system/i2c/Makefile
+++ b/apps/system/i2c/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 .
VPATH =
diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile
index a617fb4fc..e455c3360 100644
--- a/apps/system/install/Makefile
+++ b/apps/system/install/Makefile
@@ -72,6 +72,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/system/mdio/Makefile b/apps/system/mdio/Makefile
index fa7f6bd10..f25441430 100644
--- a/apps/system/mdio/Makefile
+++ b/apps/system/mdio/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/system/nxplayer/Makefile b/apps/system/nxplayer/Makefile
index 3f0c9d949..1d45fe2b9 100644
--- a/apps/system/nxplayer/Makefile
+++ b/apps/system/nxplayer/Makefile
@@ -74,6 +74,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/system/poweroff/Makefile b/apps/system/poweroff/Makefile
index a2d0f9d85..43d5025fa 100644
--- a/apps/system/poweroff/Makefile
+++ b/apps/system/poweroff/Makefile
@@ -72,6 +72,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/system/prun/Makefile b/apps/system/prun/Makefile
index 0801f0298..52ad17b61 100644
--- a/apps/system/prun/Makefile
+++ b/apps/system/prun/Makefile
@@ -78,6 +78,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/system/ramtest/Makefile b/apps/system/ramtest/Makefile
index 1b426207a..68a1a6d65 100644
--- a/apps/system/ramtest/Makefile
+++ b/apps/system/ramtest/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/system/ramtron/Makefile b/apps/system/ramtron/Makefile
index 4f5327abc..b88e70d30 100644
--- a/apps/system/ramtron/Makefile
+++ b/apps/system/ramtron/Makefile
@@ -72,6 +72,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/system/sdcard/Makefile b/apps/system/sdcard/Makefile
index e66855a3c..0e9a96603 100644
--- a/apps/system/sdcard/Makefile
+++ b/apps/system/sdcard/Makefile
@@ -72,6 +72,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/system/sudoku/Makefile b/apps/system/sudoku/Makefile
index 40370372e..bc2e79512 100644
--- a/apps/system/sudoku/Makefile
+++ b/apps/system/sudoku/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/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile
index 7956fac88..e563adc30 100644
--- a/apps/system/sysinfo/Makefile
+++ b/apps/system/sysinfo/Makefile
@@ -73,6 +73,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/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile
index de0d25a6a..42da35650 100644
--- a/apps/system/usbmsc/Makefile
+++ b/apps/system/usbmsc/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 .
# USB storage built-in application info
diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile
index d3e8d8f34..040f1255a 100644
--- a/apps/system/vi/Makefile
+++ b/apps/system/vi/Makefile
@@ -69,6 +69,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/system/zmodem/Makefile b/apps/system/zmodem/Makefile
index e8d813634..0ff3899af 100644
--- a/apps/system/zmodem/Makefile
+++ b/apps/system/zmodem/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