summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/vsn/src/Makefile')
-rw-r--r--nuttx/configs/vsn/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/vsn/src/Makefile b/nuttx/configs/vsn/src/Makefile
index 6e55c30ca..8b00da4a7 100644
--- a/nuttx/configs/vsn/src/Makefile
+++ b/nuttx/configs/vsn/src/Makefile
@@ -49,7 +49,7 @@ CSRCS = sysclock.c boot.c leds.c buttons.c spi.c \
ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += nsh.c
endif
-ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
+ifeq ($(CONFIG_USBSTRG),y)
CSRCS += usbstrg.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT))