scripts/Makefile.headersinst takes care of *.agh just for arch/cris/include/uapi/arch-v10/arch/sv_addr.agh because renaming exported headers is difficult (or impossible). This code is no longer necessary thanks to commit c690eddc2f3b ("CRIS: Drop support for the CRIS port").
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -44,7 +44,6 @@ kbuild-file := $(srctree)/$(obj)/Kbuild · 43 unmodified lines | ||
| 44 | 44 | installdir := $(INSTALL_HDR_PATH)/$(dst) |
| 45 | 45 | gendir := $(objtree)/$(subst include/,include/generated/,$(obj)) |
| 46 | 46 | header-files := $(notdir $(wildcard $(srcdir)/*.h)) |
| 47 | −header-files += $(notdir $(wildcard $(srcdir)/*.agh)) | |
| 48 | 47 | header-files := $(filter-out $(no-export-headers), $(header-files)) |
| 49 | 48 | genhdr-files := $(notdir $(wildcard $(gendir)/*.h)) |
| 50 | 49 | genhdr-files := $(filter-out $(header-files), $(genhdr-files)) |