From 14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Sep 2014 09:17:23 -0600 Subject: 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 --- apps/system/prun/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/system/prun/Makefile') 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 -- cgit v1.2.3