Make sure that APPNAME is defined in all Makefiles that generate applications

This commit is contained in:
Sebastien Lorquet 2016-06-09 10:51:04 -06:00 committed by Gregory Nutt
parent a9d57ca022
commit d2aa24ad88
18 changed files with 40 additions and 12 deletions

View File

@ -37,6 +37,8 @@
# CONFIGDATA Unit Test
APPNAME = configdata
ASRCS =
CSRCS =
MAINSRC = configdata_main.c

View File

@ -37,6 +37,8 @@
# USB Host HID keyboard Example
APPNAME = hidkbd
ASRCS =
CSRCS =
MAINSRC = hidkbd_main.c

View File

@ -37,6 +37,8 @@
# Memory Management Test
APPNAME = mm
ASRCS =
CSRCS =
MAINSRC = mm_main.c

View File

@ -37,6 +37,8 @@
# mount() test
APPNAME = mount
ASRCS =
CSRCS = ramdisk.c
MAINSRC = mount_main.c

View File

@ -1,7 +1,7 @@
############################################################################
# apps/examples/mtdpart/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Copyright (C) 2013, 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -35,7 +35,9 @@
-include $(TOPDIR)/Make.defs
# Hello, World! Example
# MTD Partition Example
APPNAME = mtdpart
ASRCS =
CSRCS =

View File

@ -1,7 +1,7 @@
/****************************************************************************
* examples/mtdpart/mtdpart_main.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -127,10 +127,6 @@ static uint8_t g_simflash[MTDPART_BUFSIZE];
extern FAR struct mtd_dev_s *mtdpart_archinitialize(void);
#endif
/****************************************************************************
* Private Functions
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/

View File

@ -1,7 +1,7 @@
############################################################################
# apps/examplex/mtdrwb/Makefile
#
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -35,7 +35,9 @@
-include $(TOPDIR)/Make.defs
# Hello, World! Example
# MTD R/W buffer test Example
APPNAME = mtdrwb
ASRCS =
CSRCS =

View File

@ -37,6 +37,8 @@
# NuttShell (NSH) Example
APPNAME = nsh
ASRCS =
CSRCS =
MAINSRC = nsh_main.c

View File

@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxffs/Makefile
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Copyright (C) 2011-2012, 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -35,7 +35,9 @@
-include $(TOPDIR)/Make.defs
# Hello, World! Example
# NXFFS file system example
APPNAME = nxffs
ASRCS =
CSRCS =

View File

@ -37,6 +37,8 @@
# Pascal Add-On Example
APPNAME = pashello
ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif

View File

@ -37,6 +37,8 @@
# Pipe Example
APPNAME = pipe
ASRCS =
CSRCS = transfer_test.c interlock_test.c redirect_test.c
MAINSRC = pipe_main.c

View File

@ -37,6 +37,8 @@
# The smallest thing you can build -- the NULL example.
APPNAME = rgmp
ASRCS =
CSRCS =
MAINSRC = rgmp_main.c

View File

@ -37,6 +37,8 @@
# Sendmail SMTP Example
APPNAME = sendmail
ASRCS =
CSRCS =
MAINSRC = sendmail_main.c

View File

@ -37,6 +37,8 @@
# Mindlessly simple console loopack test
APPNAME = serloop
ASRCS =
CSRCS =
MAINSRC = serloop_main.c

View File

@ -37,6 +37,8 @@
# SMART file system stress test
APPNAME = smart
ASRCS =
CSRCS =
MAINSRC = smart_main.c

View File

@ -35,6 +35,8 @@
-include $(TOPDIR)/Make.defs
APPNAME = uavcan
MAINSRC = uavcan_main.cxx
CXXFLAGS += -I$(TOPDIR)/include/apps

View File

@ -41,6 +41,8 @@ ASRCS =
CSRCS =
MAINSRC = wget_main.c
APPNAME = wget
CONFIG_XYZ_PROGNAME ?= wget$(EXEEXT)
PROGNAME = $(CONFIG_XYZ_PROGNAME)

View File

@ -947,7 +947,7 @@ config NSH_NETINIT
default y
depends on NET
---help---
This option enables/disables all network initialization in NSH.
This option enables/disables all network initialization in NSH.
if NSH_NETINIT