From 5b038d28629472894c07f4efc604c992c9d8264d Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 22 Dec 2011 15:59:50 +0000 Subject: 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 --- apps/examples/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'apps/examples/Makefile') 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 -- cgit v1.2.3