Determine the main object name from the main source name in every kernel build Makefile

This commit is contained in:
Gregory Nutt
2014-09-07 07:19:19 -06:00
parent 2881b73f3d
commit 043d6898db
85 changed files with 85 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ CSRCS = adc_main.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
MAINOBJ = $(MAINSRC:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
OBJS = $(AOBJS) $(COBJS)