summaryrefslogtreecommitdiff
path: root/apps/system/prun
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-07 09:17:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-07 09:17:23 -0600
commit14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4 (patch)
tree20444f1055f8c11f92fa29978ed0b2bd3a9559f6 /apps/system/prun
parentfb7a08922178beb0cb053a00d1377366d4279e87 (diff)
downloadnuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.tar.gz
nuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.tar.bz2
nuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.zip
Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile
Diffstat (limited to 'apps/system/prun')
-rw-r--r--apps/system/prun/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile
index 5516a5523..fb4d6f79d 100644
--- a/apps/system/prun/Makefile
+++ b/apps/system/prun/Makefile
@@ -56,7 +56,8 @@ PRIORITY = $(CONFIG_SYSTEM_PEXEC_PRIORITY)
STACKSIZE = $(CONFIG_SYSTEM_PEXEC_STACKSIZE)
ASRCS =
-CSRCS = prun.c
+CSRCS =
+MAINSRC = prun.c
ifeq ($(CONFIG_SYSTEM_PEXEC),y)
CSRCS += pexec_main.c