summaryrefslogtreecommitdiff
path: root/apps/system
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/system
parentccf351b1e299b1d6387f825bbab06d8d3cc7c80a (diff)
downloadnuttx-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/system')
-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
19 files changed, 171 insertions, 0 deletions
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