diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-22 15:59:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-22 15:59:50 +0000 |
commit | 5b038d28629472894c07f4efc604c992c9d8264d (patch) | |
tree | 63468d1d6ac45b29fbd91bfc9b9e1d7d6d7b17c0 /apps/examples/Makefile | |
parent | 0404da840332858afad5ecbfcba1290c191f0078 (diff) | |
download | px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.gz px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.bz2 px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.zip |
Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/Makefile')
-rw-r--r-- | apps/examples/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/apps/examples/Makefile b/apps/examples/Makefile index 2c82c5145..ec38c8a8f 100644 --- a/apps/examples/Makefile +++ b/apps/examples/Makefile @@ -42,25 +42,28 @@ SUBDIRS = adc buttons dhcpd ftpc hello helloxx hidkbd igmp lcdrw mm mount \ nxtext ostest pashello pipe poll pwm rgmp romfs sendmail serloop \ thttpd tiff touchscreen udp uip usbserial usbstorage usbterm wget wlan -# Sub-directories that might need context setup +# Sub-directories that might need context setup. Directories may need +# context setup for a variety of reasons, but the most common is because +# the example may be built as an NSH built-in function. +# +# Directories that may be built as NSH built-in functions may have their +# own configuration setting (like CONFIG_EXAMPLES_HELLOXX_BUILTIN), but +# many only depend on the generic CONFIG_NSH_BUILTIN_APPS setting. And +# there a few which an ONLY be built as NSH built-in applications; these +# are included in the list unconditionally. CNTXTDIRS = pwm ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) -CNTXTDIRS += adc -endif -ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) -CNTXTDIRS += dhcpd +CNTXTDIRS += adc can dhcpd nettest endif + ifeq ($(CONFIG_EXAMPLES_HELLOXX_BUILTIN),y) CNTXTDIRS += helloxx endif ifeq ($(CONFIG_EXAMPLES_LCDRW_BUILTIN),y) CNTXTDIRS += lcdrw endif -ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) -CNTXTDIRS += nettest -endif ifeq ($(CONFIG_EXAMPLES_NX_BUILTIN),y) CNTXTDIRS += nx endif |