kbuild: replace $(hdr-arch) with $(SRCARCH)

Since commit 5e53879008 ("sparc,sparc64: unify Makefile"), hdr-arch
and SRCARCH always match.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
This commit is contained in:
Masahiro Yamada
2017-10-04 12:56:04 +09:00
parent 37131ec4f9
commit 9d022c5406
2 changed files with 10 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ __headers: $(subdirs)
$(subdirs):
$(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(dst)/$@
# Skip header install/check for include/uapi and arch/$(hdr-arch)/include/uapi.
# Skip header install/check for include/uapi and arch/$(SRCARCH)/include/uapi.
# We have only sub-directories there.
skip-inst := $(if $(filter %/uapi,$(obj)),1)