2005-04-16 18:20:36 -04:00
|
|
|
# ===========================================================================
|
|
|
|
# arch/um: Generic definitions
|
|
|
|
# ===========================================================================
|
|
|
|
|
2005-05-05 19:15:33 -04:00
|
|
|
USER_SINGLE_OBJS := \
|
|
|
|
$(foreach f,$(patsubst %.o,%,$(obj-y) $(obj-m)),$($(f)-objs))
|
|
|
|
USER_OBJS += $(filter %_user.o,$(obj-y) $(obj-m) $(USER_SINGLE_OBJS))
|
2005-04-16 18:20:36 -04:00
|
|
|
USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
|
|
|
|
|
2005-10-09 15:37:26 -04:00
|
|
|
$(USER_OBJS) $(USER_OBJS:.o=.i) $(USER_OBJS:.o=.s) $(USER_OBJS:.o=.lst): \
|
|
|
|
c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) $(CFLAGS_$(notdir $@))
|
2005-09-09 12:14:12 -04:00
|
|
|
$(USER_OBJS): cmd_checksrc =
|
|
|
|
$(USER_OBJS): quiet_cmd_checksrc =
|
|
|
|
$(USER_OBJS): cmd_force_checksrc =
|
|
|
|
$(USER_OBJS): quiet_cmd_force_checksrc =
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2005-06-21 20:16:25 -04:00
|
|
|
# The stubs and unmap.o can't try to call mcount or update basic block data
|
|
|
|
define unprofile
|
|
|
|
$(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
|
|
|
|
endef
|
|
|
|
|
2006-03-31 05:30:11 -05:00
|
|
|
ifdef subarch-obj-y
|
|
|
|
obj-y += subarch.o
|
|
|
|
subarch-y = $(addprefix ../../$(SUBARCH)/,$(subarch-obj-y))
|
|
|
|
endif
|