From 34543626787a16d6e2bd78a20fa6d3838a55fe96 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 13:19:02 -0600 Subject: [PATCH] Add generic setup logic to every Makefile that installs a program. Each will need customization --- examples/adc/Makefile | 9 +++++++++ examples/buttons/Makefile | 9 +++++++++ examples/can/Makefile | 9 +++++++++ examples/cc3000/Makefile | 9 +++++++++ examples/configdata/Makefile | 9 +++++++++ examples/cpuhog/Makefile | 9 +++++++++ examples/dhcpd/Makefile | 9 +++++++++ examples/discover/Makefile | 9 +++++++++ examples/elf/Makefile | 9 +++++++++ examples/flash_test/Makefile | 9 +++++++++ examples/ftpc/Makefile | 9 +++++++++ examples/ftpd/Makefile | 9 +++++++++ examples/hidkbd/Makefile | 9 +++++++++ examples/i2schar/Makefile | 9 +++++++++ examples/igmp/Makefile | 9 +++++++++ examples/json/Makefile | 9 +++++++++ examples/keypadtest/Makefile | 9 +++++++++ examples/lcdrw/Makefile | 9 +++++++++ examples/mm/Makefile | 9 +++++++++ examples/modbus/Makefile | 9 +++++++++ examples/mount/Makefile | 9 +++++++++ examples/mtdpart/Makefile | 9 +++++++++ examples/netpkt/Makefile | 9 +++++++++ examples/nettest/Makefile | 9 +++++++++ examples/nrf24l01_term/Makefile | 9 +++++++++ examples/null/Makefile | 9 +++++++++ examples/nx/Makefile | 9 +++++++++ examples/nxconsole/Makefile | 9 +++++++++ examples/nxffs/Makefile | 9 +++++++++ examples/nxflat/Makefile | 9 +++++++++ examples/nxhello/Makefile | 9 +++++++++ examples/nximage/Makefile | 9 +++++++++ examples/nxlines/Makefile | 9 +++++++++ examples/nxtext/Makefile | 9 +++++++++ examples/ostest/Makefile | 9 +++++++++ examples/pashello/Makefile | 9 +++++++++ examples/pipe/Makefile | 9 +++++++++ examples/poll/Makefile | 9 +++++++++ examples/posix_spawn/Makefile | 9 +++++++++ examples/pwm/Makefile | 9 +++++++++ examples/qencoder/Makefile | 9 +++++++++ examples/random/Makefile | 9 +++++++++ examples/relays/Makefile | 9 +++++++++ examples/rgmp/Makefile | 9 +++++++++ examples/romfs/Makefile | 9 +++++++++ examples/sendmail/Makefile | 9 +++++++++ examples/serialblaster/Makefile | 9 +++++++++ examples/serialrx/Makefile | 9 +++++++++ examples/serloop/Makefile | 9 +++++++++ examples/slcd/Makefile | 9 +++++++++ examples/smart/Makefile | 9 +++++++++ examples/smart_test/Makefile | 9 +++++++++ examples/tcpecho/Makefile | 9 +++++++++ examples/telnetd/Makefile | 9 +++++++++ examples/thttpd/Makefile | 9 +++++++++ examples/tiff/Makefile | 9 +++++++++ examples/touchscreen/Makefile | 9 +++++++++ examples/udp/Makefile | 9 +++++++++ examples/usbserial/Makefile | 9 +++++++++ examples/usbterm/Makefile | 9 +++++++++ examples/watchdog/Makefile | 9 +++++++++ examples/webserver/Makefile | 9 +++++++++ examples/wget/Makefile | 9 +++++++++ examples/wgetjson/Makefile | 9 +++++++++ examples/xmlrpc/Makefile | 9 +++++++++ graphics/screenshot/Makefile | 9 +++++++++ netutils/thttpd/Makefile | 9 +++++++++ system/cdcacm/Makefile | 9 +++++++++ system/composite/Makefile | 9 +++++++++ system/flash_eraseall/Makefile | 9 +++++++++ system/free/Makefile | 9 +++++++++ system/hex2bin/Makefile | 9 +++++++++ system/i2c/Makefile | 9 +++++++++ system/install/Makefile | 9 +++++++++ system/mdio/Makefile | 9 +++++++++ system/nxplayer/Makefile | 9 +++++++++ system/poweroff/Makefile | 9 +++++++++ system/prun/Makefile | 9 +++++++++ system/ramtest/Makefile | 9 +++++++++ system/ramtron/Makefile | 9 +++++++++ system/sdcard/Makefile | 9 +++++++++ system/sudoku/Makefile | 9 +++++++++ system/sysinfo/Makefile | 9 +++++++++ system/usbmsc/Makefile | 9 +++++++++ system/vi/Makefile | 9 +++++++++ system/zmodem/Makefile | 9 +++++++++ 86 files changed, 774 insertions(+) diff --git a/examples/adc/Makefile b/examples/adc/Makefile index d594ce2dd..2f20ba4b2 100644 --- a/examples/adc/Makefile +++ b/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/examples/buttons/Makefile b/examples/buttons/Makefile index 2ba16674e..eb8b1b7ff 100644 --- a/examples/buttons/Makefile +++ b/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/examples/can/Makefile b/examples/can/Makefile index 266655fb2..6979a829c 100644 --- a/examples/can/Makefile +++ b/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/examples/cc3000/Makefile b/examples/cc3000/Makefile index 6107e5860..e0c612d2d 100644 --- a/examples/cc3000/Makefile +++ b/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/examples/configdata/Makefile b/examples/configdata/Makefile index c60befecc..e9f9f1542 100644 --- a/examples/configdata/Makefile +++ b/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/examples/cpuhog/Makefile b/examples/cpuhog/Makefile index 89210c8a3..0ea799a96 100644 --- a/examples/cpuhog/Makefile +++ b/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/examples/dhcpd/Makefile b/examples/dhcpd/Makefile index d044a025c..45fba2397 100644 --- a/examples/dhcpd/Makefile +++ b/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/examples/discover/Makefile b/examples/discover/Makefile index 73ef22e77..127903956 100644 --- a/examples/discover/Makefile +++ b/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/examples/elf/Makefile b/examples/elf/Makefile index 782d75a25..7f1df32e1 100644 --- a/examples/elf/Makefile +++ b/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/examples/flash_test/Makefile b/examples/flash_test/Makefile index 915ce35af..77deaa66d 100644 --- a/examples/flash_test/Makefile +++ b/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/examples/ftpc/Makefile b/examples/ftpc/Makefile index 361188857..75729d3fc 100644 --- a/examples/ftpc/Makefile +++ b/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/examples/ftpd/Makefile b/examples/ftpd/Makefile index dbbab33f3..daf514adb 100644 --- a/examples/ftpd/Makefile +++ b/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/examples/hidkbd/Makefile b/examples/hidkbd/Makefile index fff6cbc9b..2c719671d 100644 --- a/examples/hidkbd/Makefile +++ b/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/examples/i2schar/Makefile b/examples/i2schar/Makefile index b4c17d502..7f1846414 100644 --- a/examples/i2schar/Makefile +++ b/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/examples/igmp/Makefile b/examples/igmp/Makefile index fa1f0df7d..c1847a73a 100644 --- a/examples/igmp/Makefile +++ b/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/examples/json/Makefile b/examples/json/Makefile index 71f4e27a1..26eec111f 100644 --- a/examples/json/Makefile +++ b/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/examples/keypadtest/Makefile b/examples/keypadtest/Makefile index 0eacf00d8..4920abf64 100644 --- a/examples/keypadtest/Makefile +++ b/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/examples/lcdrw/Makefile b/examples/lcdrw/Makefile index b66e6989b..90c2c9cae 100644 --- a/examples/lcdrw/Makefile +++ b/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/examples/mm/Makefile b/examples/mm/Makefile index e69f8c1f2..546d446ab 100644 --- a/examples/mm/Makefile +++ b/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/examples/modbus/Makefile b/examples/modbus/Makefile index 35bcd8d1b..35dd5e420 100644 --- a/examples/modbus/Makefile +++ b/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/examples/mount/Makefile b/examples/mount/Makefile index 880547f07..fe49ad1f1 100644 --- a/examples/mount/Makefile +++ b/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/examples/mtdpart/Makefile b/examples/mtdpart/Makefile index e3a7b429b..37823f2af 100755 --- a/examples/mtdpart/Makefile +++ b/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/examples/netpkt/Makefile b/examples/netpkt/Makefile index 0d2be00c1..6b933fe01 100644 --- a/examples/netpkt/Makefile +++ b/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/examples/nettest/Makefile b/examples/nettest/Makefile index 1723b06d1..d45161fe7 100644 --- a/examples/nettest/Makefile +++ b/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/examples/nrf24l01_term/Makefile b/examples/nrf24l01_term/Makefile index 367b7f285..a41c01727 100644 --- a/examples/nrf24l01_term/Makefile +++ b/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/examples/null/Makefile b/examples/null/Makefile index 969603d36..133ecf3c0 100644 --- a/examples/null/Makefile +++ b/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/examples/nx/Makefile b/examples/nx/Makefile index 567c75e97..a2352c46d 100644 --- a/examples/nx/Makefile +++ b/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/examples/nxconsole/Makefile b/examples/nxconsole/Makefile index 298da8d6d..910a40122 100644 --- a/examples/nxconsole/Makefile +++ b/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/examples/nxffs/Makefile b/examples/nxffs/Makefile index cd441f332..1167faeb7 100644 --- a/examples/nxffs/Makefile +++ b/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/examples/nxflat/Makefile b/examples/nxflat/Makefile index 129dedede..9e648fa32 100644 --- a/examples/nxflat/Makefile +++ b/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/examples/nxhello/Makefile b/examples/nxhello/Makefile index c49468515..52e0b8265 100644 --- a/examples/nxhello/Makefile +++ b/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/examples/nximage/Makefile b/examples/nximage/Makefile index 19bb84856..33dff36ed 100644 --- a/examples/nximage/Makefile +++ b/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/examples/nxlines/Makefile b/examples/nxlines/Makefile index 204487ebb..1b1d36f76 100644 --- a/examples/nxlines/Makefile +++ b/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/examples/nxtext/Makefile b/examples/nxtext/Makefile index 8e729d006..287adc690 100644 --- a/examples/nxtext/Makefile +++ b/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/examples/ostest/Makefile b/examples/ostest/Makefile index ed91c03f4..09286c640 100644 --- a/examples/ostest/Makefile +++ b/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/examples/pashello/Makefile b/examples/pashello/Makefile index 2c244c947..aae97dc9c 100644 --- a/examples/pashello/Makefile +++ b/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/examples/pipe/Makefile b/examples/pipe/Makefile index 80e653ca5..0f1734517 100644 --- a/examples/pipe/Makefile +++ b/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/examples/poll/Makefile b/examples/poll/Makefile index 11f8e5c41..7804ed4c7 100644 --- a/examples/poll/Makefile +++ b/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/examples/posix_spawn/Makefile b/examples/posix_spawn/Makefile index 9a447efa7..7a7a1609f 100644 --- a/examples/posix_spawn/Makefile +++ b/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/examples/pwm/Makefile b/examples/pwm/Makefile index bcc68592a..60c31ff0b 100644 --- a/examples/pwm/Makefile +++ b/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/examples/qencoder/Makefile b/examples/qencoder/Makefile index 4f0a2f91b..afd1174c2 100644 --- a/examples/qencoder/Makefile +++ b/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/examples/random/Makefile b/examples/random/Makefile index 1824fb985..fb02245c0 100644 --- a/examples/random/Makefile +++ b/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/examples/relays/Makefile b/examples/relays/Makefile index 41c2b86d1..8360328ba 100644 --- a/examples/relays/Makefile +++ b/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/examples/rgmp/Makefile b/examples/rgmp/Makefile index e01dc7b31..7adc7d0e0 100644 --- a/examples/rgmp/Makefile +++ b/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/examples/romfs/Makefile b/examples/romfs/Makefile index 1ab622e38..d99395799 100644 --- a/examples/romfs/Makefile +++ b/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/examples/sendmail/Makefile b/examples/sendmail/Makefile index f5fe82808..f3a34283c 100644 --- a/examples/sendmail/Makefile +++ b/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/examples/serialblaster/Makefile b/examples/serialblaster/Makefile index 8628953e4..c699394f0 100644 --- a/examples/serialblaster/Makefile +++ b/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/examples/serialrx/Makefile b/examples/serialrx/Makefile index cb3f93c17..fb8b9b3f1 100644 --- a/examples/serialrx/Makefile +++ b/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/examples/serloop/Makefile b/examples/serloop/Makefile index 60baf2e79..2003f4a17 100644 --- a/examples/serloop/Makefile +++ b/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/examples/slcd/Makefile b/examples/slcd/Makefile index 1b918e0fc..fc3e1630c 100644 --- a/examples/slcd/Makefile +++ b/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/examples/smart/Makefile b/examples/smart/Makefile index a1ad9e48b..9a292b456 100644 --- a/examples/smart/Makefile +++ b/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/examples/smart_test/Makefile b/examples/smart_test/Makefile index 8c8c679fa..9c0284089 100644 --- a/examples/smart_test/Makefile +++ b/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/examples/tcpecho/Makefile b/examples/tcpecho/Makefile index b75f05c61..aedf94b90 100644 --- a/examples/tcpecho/Makefile +++ b/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/examples/telnetd/Makefile b/examples/telnetd/Makefile index e25cd9725..d9d3a2fc6 100644 --- a/examples/telnetd/Makefile +++ b/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/examples/thttpd/Makefile b/examples/thttpd/Makefile index f00e212ba..3416a2fed 100644 --- a/examples/thttpd/Makefile +++ b/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/examples/tiff/Makefile b/examples/tiff/Makefile index 203d2fedd..e04f881d1 100644 --- a/examples/tiff/Makefile +++ b/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/examples/touchscreen/Makefile b/examples/touchscreen/Makefile index 0ad952431..77630a7b5 100644 --- a/examples/touchscreen/Makefile +++ b/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/examples/udp/Makefile b/examples/udp/Makefile index 242eda867..c2cf76e47 100644 --- a/examples/udp/Makefile +++ b/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/examples/usbserial/Makefile b/examples/usbserial/Makefile index 4f8afa6fb..68f3bfac4 100644 --- a/examples/usbserial/Makefile +++ b/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/examples/usbterm/Makefile b/examples/usbterm/Makefile index a1c7479ea..7cd63dde7 100644 --- a/examples/usbterm/Makefile +++ b/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/examples/watchdog/Makefile b/examples/watchdog/Makefile index f9c01d178..36b108931 100644 --- a/examples/watchdog/Makefile +++ b/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/examples/webserver/Makefile b/examples/webserver/Makefile index f36022d30..a6c520079 100644 --- a/examples/webserver/Makefile +++ b/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/examples/wget/Makefile b/examples/wget/Makefile index f8ceac520..889f8e5f0 100644 --- a/examples/wget/Makefile +++ b/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/examples/wgetjson/Makefile b/examples/wgetjson/Makefile index 20a40b887..214b79347 100644 --- a/examples/wgetjson/Makefile +++ b/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/examples/xmlrpc/Makefile b/examples/xmlrpc/Makefile index 4be5b7e1b..ad6e2564a 100644 --- a/examples/xmlrpc/Makefile +++ b/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/graphics/screenshot/Makefile b/graphics/screenshot/Makefile index aae1389d0..02b1a14a4 100644 --- a/graphics/screenshot/Makefile +++ b/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/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index 964989491..8f341779f 100644 --- a/netutils/thttpd/Makefile +++ b/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/system/cdcacm/Makefile b/system/cdcacm/Makefile index 74e81c7b2..a9e260750 100644 --- a/system/cdcacm/Makefile +++ b/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/system/composite/Makefile b/system/composite/Makefile index 8a13a623e..ecc3e9a71 100644 --- a/system/composite/Makefile +++ b/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/system/flash_eraseall/Makefile b/system/flash_eraseall/Makefile index d03a7561b..eac6c9532 100644 --- a/system/flash_eraseall/Makefile +++ b/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/system/free/Makefile b/system/free/Makefile index d7a42c050..4bddd7a8e 100644 --- a/system/free/Makefile +++ b/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/system/hex2bin/Makefile b/system/hex2bin/Makefile index 48a984033..d150fa1a0 100644 --- a/system/hex2bin/Makefile +++ b/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/system/i2c/Makefile b/system/i2c/Makefile index de3dc21d4..c14d88890 100644 --- a/system/i2c/Makefile +++ b/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/system/install/Makefile b/system/install/Makefile index a617fb4fc..e455c3360 100644 --- a/system/install/Makefile +++ b/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/system/mdio/Makefile b/system/mdio/Makefile index fa7f6bd10..f25441430 100644 --- a/system/mdio/Makefile +++ b/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/system/nxplayer/Makefile b/system/nxplayer/Makefile index 3f0c9d949..1d45fe2b9 100644 --- a/system/nxplayer/Makefile +++ b/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/system/poweroff/Makefile b/system/poweroff/Makefile index a2d0f9d85..43d5025fa 100644 --- a/system/poweroff/Makefile +++ b/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/system/prun/Makefile b/system/prun/Makefile index 0801f0298..52ad17b61 100644 --- a/system/prun/Makefile +++ b/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/system/ramtest/Makefile b/system/ramtest/Makefile index 1b426207a..68a1a6d65 100644 --- a/system/ramtest/Makefile +++ b/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/system/ramtron/Makefile b/system/ramtron/Makefile index 4f5327abc..b88e70d30 100644 --- a/system/ramtron/Makefile +++ b/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/system/sdcard/Makefile b/system/sdcard/Makefile index e66855a3c..0e9a96603 100644 --- a/system/sdcard/Makefile +++ b/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/system/sudoku/Makefile b/system/sudoku/Makefile index 40370372e..bc2e79512 100644 --- a/system/sudoku/Makefile +++ b/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/system/sysinfo/Makefile b/system/sysinfo/Makefile index 7956fac88..e563adc30 100644 --- a/system/sysinfo/Makefile +++ b/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/system/usbmsc/Makefile b/system/usbmsc/Makefile index de0d25a6a..42da35650 100644 --- a/system/usbmsc/Makefile +++ b/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/system/vi/Makefile b/system/vi/Makefile index d3e8d8f34..040f1255a 100644 --- a/system/vi/Makefile +++ b/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/system/zmodem/Makefile b/system/zmodem/Makefile index e8d813634..0ff3899af 100644 --- a/system/zmodem/Makefile +++ b/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