Commit 78c95647 authored by Vasily Gorbik's avatar Vasily Gorbik Committed by Martin Schwidefsky

s390: add custom target and make path extension optional for .bss check

"chkbss-target" could be now used to override default target .bss check
is bound to. Objects to be checked are only path extended when needed.
Reviewed-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 4560ff13
......@@ -8,7 +8,12 @@ define cmd_chkbss
touch $@;
endef
$(obj)/built-in.a: $(patsubst %, $(obj)/%.chkbss, $(chkbss))
chkbss-target ?= $(obj)/built-in.a
ifneq (,$(findstring /,$(chkbss)))
$(chkbss-target): $(patsubst %, %.chkbss, $(chkbss))
else
$(chkbss-target): $(patsubst %, $(obj)/%.chkbss, $(chkbss))
endif
%.o.chkbss: %.o
$(call cmd,chkbss)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment