diff options
Diffstat (limited to 'apps/examples/mtdpart/Makefile')
-rwxr-xr-x | apps/examples/mtdpart/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/mtdpart/Makefile b/apps/examples/mtdpart/Makefile index 62427c77d..d285aa03e 100755 --- a/apps/examples/mtdpart/Makefile +++ b/apps/examples/mtdpart/Makefile @@ -48,6 +48,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 |