From 5a874f322600b650145dcb55bdf51e66fbf4acef Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Sep 2014 07:05:54 -0600 Subject: If now a kernel build, then add the main object in with all of the rest --- apps/system/prun/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/system/prun') diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile index 48ba233f4..34bf1eec3 100644 --- a/apps/system/prun/Makefile +++ b/apps/system/prun/Makefile @@ -68,6 +68,10 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) +ifneq ($(CONFIG_BUILD_KERNEL),y) + OBJS += $(MAINOBJ) +endif + ifeq ($(CONFIG_WINDOWS_NATIVE),y) BIN = ..\..\libapps$(LIBEXT) else -- cgit v1.2.3