diff options
Diffstat (limited to 'apps/system/ramtest')
-rw-r--r-- | apps/system/ramtest/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile index b7ef04b39..01f2a96f4 100644 --- a/apps/system/ramtest/Makefile +++ b/apps/system/ramtest/Makefile @@ -55,6 +55,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 |