1 # ===========================================================================
2 # arch/um: Generic definitions
3 # ===========================================================================
6 $(foreach f,$(patsubst %.o,%,$(obj-y) $(obj-m)),$($(f)-objs))
7 USER_OBJS += $(filter %_user.o,$(obj-y) $(obj-m) $(USER_SINGLE_OBJS))
8 USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
10 $(USER_OBJS) $(USER_OBJS:.o=.i) $(USER_OBJS:.o=.s) $(USER_OBJS:.o=.lst): \
11 c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) $(CFLAGS_$(notdir $@))
12 $(USER_OBJS) : CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ \
13 -Dunix -D__unix__ -D__$(SUBARCH)__
16 # The stubs and unmap.o can't try to call mcount or update basic block data
18 $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
23 subarch-y = $(addprefix ../../$(SUBARCH)/,$(subarch-obj-y))