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