2005-04-17 05:20:36 +07:00
|
|
|
# ===========================================================================
|
|
|
|
# arch/um: Generic definitions
|
|
|
|
# ===========================================================================
|
|
|
|
|
2005-05-06 06:15:33 +07: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-17 05:20:36 +07:00
|
|
|
USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
|
|
|
|
|
2005-10-10 02:37:26 +07: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 23:14:12 +07:00
|
|
|
$(USER_OBJS): cmd_checksrc =
|
|
|
|
$(USER_OBJS): quiet_cmd_checksrc =
|
|
|
|
$(USER_OBJS): cmd_force_checksrc =
|
|
|
|
$(USER_OBJS): quiet_cmd_force_checksrc =
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2005-06-22 07:16:25 +07: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 17:30:11 +07:00
|
|
|
ifdef subarch-obj-y
|
|
|
|
obj-y += subarch.o
|
|
|
|
subarch-y = $(addprefix ../../$(SUBARCH)/,$(subarch-obj-y))
|
|
|
|
endif
|