From 0245ea571aff1a005054c608dd187dbb4cfd194f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Sep 2014 07:19:19 -0600 Subject: Determine the main object name from the main source name in every kernel build Makefile --- apps/system/flash_eraseall/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/system/flash_eraseall/Makefile') diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index 4592bcf43..544903730 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -58,6 +58,7 @@ CSRCS = flash_eraseall.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) +MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) -- cgit v1.2.3