2012-04-14 22:01:08 +02:00
|
|
|
############################################################################
|
|
|
|
# apps/examples/Make.defs
|
|
|
|
# Adds selected applications to apps/ build
|
|
|
|
#
|
|
|
|
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
|
|
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
#
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in
|
|
|
|
# the documentation and/or other materials provided with the
|
|
|
|
# distribution.
|
|
|
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
|
|
# used to endorse or promote products derived from this software
|
|
|
|
# without specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
|
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
|
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
|
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
|
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
|
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_ADC),y)
|
|
|
|
CONFIGURED_APPS += examples/adc
|
|
|
|
endif
|
|
|
|
|
2014-12-03 16:34:47 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_AJOYSTICK),y)
|
|
|
|
CONFIGURED_APPS += examples/ajoystick
|
|
|
|
endif
|
|
|
|
|
2014-11-07 22:35:09 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_BASTEST),y)
|
|
|
|
CONFIGURED_APPS += examples/bastest
|
|
|
|
endif
|
|
|
|
|
2014-11-17 17:53:43 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_BRIDGE),y)
|
|
|
|
CONFIGURED_APPS += examples/bridge
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_BUTTONS),y)
|
|
|
|
CONFIGURED_APPS += examples/buttons
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_CAN),y)
|
|
|
|
CONFIGURED_APPS += examples/can
|
|
|
|
endif
|
|
|
|
|
2013-09-03 22:59:48 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_CC3000BASIC),y)
|
|
|
|
CONFIGURED_APPS += examples/cc3000
|
|
|
|
endif
|
|
|
|
|
2013-11-04 16:05:11 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_CONFIGDATA),y)
|
|
|
|
CONFIGURED_APPS += examples/configdata
|
|
|
|
endif
|
|
|
|
|
2014-04-22 15:52:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_CPUHOG),y)
|
|
|
|
CONFIGURED_APPS += examples/cpuhog
|
|
|
|
endif
|
|
|
|
|
2012-10-31 23:06:31 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_CXXTEST),y)
|
2012-10-31 21:13:28 +01:00
|
|
|
CONFIGURED_APPS += examples/cxxtest
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_DHCPD),y)
|
|
|
|
CONFIGURED_APPS += examples/dhcpd
|
|
|
|
endif
|
|
|
|
|
2014-11-28 22:37:33 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_DJOYSTICK),y)
|
|
|
|
CONFIGURED_APPS += examples/djoystick
|
|
|
|
endif
|
|
|
|
|
2012-10-04 19:36:07 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_DISCOVER),y)
|
2012-09-12 22:14:46 +02:00
|
|
|
CONFIGURED_APPS += examples/discover
|
|
|
|
endif
|
|
|
|
|
2012-10-25 22:06:46 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_ELF),y)
|
|
|
|
CONFIGURED_APPS += examples/elf
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_FTPC),y)
|
|
|
|
CONFIGURED_APPS += examples/ftpc
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_FTPD),y)
|
|
|
|
CONFIGURED_APPS += examples/ftpd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_HELLO),y)
|
|
|
|
CONFIGURED_APPS += examples/hello
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_HELLOXX),y)
|
|
|
|
CONFIGURED_APPS += examples/helloxx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_HIDKBD),y)
|
|
|
|
CONFIGURED_APPS += examples/hidkbd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_IGMP),y)
|
|
|
|
CONFIGURED_APPS += examples/igmp
|
|
|
|
endif
|
|
|
|
|
2013-11-10 21:08:45 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_I2SCHAR),y)
|
|
|
|
CONFIGURED_APPS += examples/i2schar
|
|
|
|
endif
|
|
|
|
|
2012-10-27 20:21:26 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_JSON),y)
|
|
|
|
CONFIGURED_APPS += examples/json
|
|
|
|
endif
|
|
|
|
|
2012-12-01 16:43:51 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_KEYPADTEST),y)
|
|
|
|
CONFIGURED_APPS += examples/keypadtest
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_LCDRW),y)
|
|
|
|
CONFIGURED_APPS += examples/lcdrw
|
|
|
|
endif
|
|
|
|
|
2014-12-19 21:32:08 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_LTDC),y)
|
|
|
|
CONFIGURED_APPS += examples/ltdc
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_MM),y)
|
|
|
|
CONFIGURED_APPS += examples/mm
|
|
|
|
endif
|
|
|
|
|
2012-11-14 15:29:01 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_MODBUS),y)
|
|
|
|
CONFIGURED_APPS += examples/modbus
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_MOUNT),y)
|
|
|
|
CONFIGURED_APPS += examples/mount
|
|
|
|
endif
|
|
|
|
|
2013-04-30 23:54:02 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_MTDPART),y)
|
|
|
|
CONFIGURED_APPS += examples/mtdpart
|
|
|
|
endif
|
|
|
|
|
2014-09-25 18:41:47 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_MTDRWB),y)
|
|
|
|
CONFIGURED_APPS += examples/mtdrwb
|
|
|
|
endif
|
|
|
|
|
2014-06-12 19:52:06 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_NETPKT),y)
|
|
|
|
CONFIGURED_APPS += examples/netpkt
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_NETTEST),y)
|
|
|
|
CONFIGURED_APPS += examples/nettest
|
|
|
|
endif
|
|
|
|
|
2013-06-01 16:23:06 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_NRF24L01TERM),y)
|
|
|
|
CONFIGURED_APPS += examples/nrf24l01_term
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_NSH),y)
|
|
|
|
CONFIGURED_APPS += examples/nsh
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NULL),y)
|
|
|
|
CONFIGURED_APPS += examples/null
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NX),y)
|
|
|
|
CONFIGURED_APPS += examples/nx
|
|
|
|
endif
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXTERM),y)
|
2014-09-20 22:51:48 +02:00
|
|
|
CONFIGURED_APPS += examples/nxterm
|
2012-04-14 22:01:08 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXFFS),y)
|
|
|
|
CONFIGURED_APPS += examples/nxffs
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXFLAT),y)
|
|
|
|
CONFIGURED_APPS += examples/nxflat
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXHELLO),y)
|
|
|
|
CONFIGURED_APPS += examples/nxhello
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXIMAGE),y)
|
|
|
|
CONFIGURED_APPS += examples/nximage
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXLINES),y)
|
|
|
|
CONFIGURED_APPS += examples/nxlines
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_NXTEXT),y)
|
|
|
|
CONFIGURED_APPS += examples/nxtext
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_OSTEST),y)
|
|
|
|
CONFIGURED_APPS += examples/ostest
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_PASHELLO),y)
|
|
|
|
CONFIGURED_APPS += examples/pashello
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_PIPE),y)
|
|
|
|
CONFIGURED_APPS += examples/pipe
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_POLL),y)
|
|
|
|
CONFIGURED_APPS += examples/poll
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_PWM),y)
|
|
|
|
CONFIGURED_APPS += examples/pwm
|
|
|
|
endif
|
|
|
|
|
2013-01-10 21:00:08 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_POSIXSPAWN),y)
|
|
|
|
CONFIGURED_APPS += examples/posix_spawn
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_QENCODER),y)
|
|
|
|
CONFIGURED_APPS += examples/qencoder
|
|
|
|
endif
|
|
|
|
|
2013-10-20 19:37:56 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_RANDOM),y)
|
|
|
|
CONFIGURED_APPS += examples/random
|
|
|
|
endif
|
|
|
|
|
2012-11-04 17:08:02 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_RELAYS),y)
|
|
|
|
CONFIGURED_APPS += examples/relays
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_RGMP),y)
|
|
|
|
CONFIGURED_APPS += examples/rgmp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_ROMFS),y)
|
|
|
|
CONFIGURED_APPS += examples/romfs
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_SENDMAIL),y)
|
|
|
|
CONFIGURED_APPS += examples/sendmail
|
|
|
|
endif
|
|
|
|
|
2014-04-22 15:52:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_SERIALBLASTER),y)
|
|
|
|
CONFIGURED_APPS += examples/serialblaster
|
|
|
|
endif
|
|
|
|
|
2014-04-22 16:41:15 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_SERIALRX),y)
|
|
|
|
CONFIGURED_APPS += examples/serialrx
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_SERLOOP),y)
|
|
|
|
CONFIGURED_APPS += examples/serloop
|
|
|
|
endif
|
|
|
|
|
2013-05-24 18:00:54 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_SLCD),y)
|
|
|
|
CONFIGURED_APPS += examples/slcd
|
|
|
|
endif
|
|
|
|
|
2013-05-01 16:09:20 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_FLASH_TEST),y)
|
|
|
|
CONFIGURED_APPS += examples/flash_test
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_SMART_TEST),y)
|
|
|
|
CONFIGURED_APPS += examples/smart_test
|
|
|
|
endif
|
|
|
|
|
2013-05-03 20:52:33 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_SMART),y)
|
|
|
|
CONFIGURED_APPS += examples/smart
|
|
|
|
endif
|
|
|
|
|
2013-05-22 15:35:54 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_TCPECHO),y)
|
|
|
|
CONFIGURED_APPS += examples/tcpecho
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_TELNETD),y)
|
|
|
|
CONFIGURED_APPS += examples/telnetd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_THTTPD),y)
|
|
|
|
CONFIGURED_APPS += examples/thttpd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_TIFF),y)
|
|
|
|
CONFIGURED_APPS += examples/tiff
|
|
|
|
endif
|
|
|
|
|
2015-01-13 19:57:26 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_TIMER),y)
|
|
|
|
CONFIGURED_APPS += examples/timer
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_TOUCHSCREEN),y)
|
|
|
|
CONFIGURED_APPS += examples/touchscreen
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_UDP),y)
|
|
|
|
CONFIGURED_APPS += examples/udp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_USBSERIAL),y)
|
|
|
|
CONFIGURED_APPS += examples/usbserial
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXAMPLES_USBTERM),y)
|
|
|
|
CONFIGURED_APPS += examples/usbterm
|
|
|
|
endif
|
|
|
|
|
2012-09-27 17:29:53 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_WATCHDOG),y)
|
|
|
|
CONFIGURED_APPS += examples/watchdog
|
|
|
|
endif
|
|
|
|
|
2014-07-04 02:11:50 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_WEBSERVER),y)
|
|
|
|
CONFIGURED_APPS += examples/webserver
|
|
|
|
endif
|
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_WGET),y)
|
|
|
|
CONFIGURED_APPS += examples/wget
|
|
|
|
endif
|
|
|
|
|
2012-10-31 17:04:45 +01:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_WGETJSON),y)
|
|
|
|
CONFIGURED_APPS += examples/wgetjson
|
|
|
|
endif
|
|
|
|
|
2012-09-14 16:07:21 +02:00
|
|
|
ifeq ($(CONFIG_EXAMPLES_XMLRPC),y)
|
|
|
|
CONFIGURED_APPS += examples/xmlrpc
|
|
|
|
endif
|