diff options
Diffstat (limited to 'apps/examples/flash_test/Makefile')
-rw-r--r-- | apps/examples/flash_test/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index 22fa1c1ce..aa4d79cc9 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -57,6 +57,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 |