You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
615 B
14 lines
615 B
20 years ago
|
# ===========================================================================
|
||
|
# arch/um: Generic definitions
|
||
|
# ===========================================================================
|
||
|
|
||
|
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))
|
||
|
|
||
|
USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
|
||
|
|
||
|
$(USER_OBJS): c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) $(CFLAGS_$(notdir $@))
|
||
|
|
||
|
quiet_cmd_make_link = SYMLINK $@
|
||
|
cmd_make_link = rm -f $@; ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@
|