diff options
Diffstat (limited to 'scripts/Makefile.headersinst')
-rw-r--r-- | scripts/Makefile.headersinst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 599adc63b84c..599503f0e5f2 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst | |||
@@ -28,15 +28,6 @@ include $(kbuild-file) | |||
28 | 28 | ||
29 | include scripts/Kbuild.include | 29 | include scripts/Kbuild.include |
30 | 30 | ||
31 | # If this is include/asm-$(ARCH) then override $(_dst) so that | ||
32 | # we install to include/asm directly. | ||
33 | # Unless $(BIASMDIR) is set, in which case we're probably doing | ||
34 | # a 'headers_install_all' build and we should keep the -$(ARCH) | ||
35 | # in the directory name. | ||
36 | ifeq ($(obj),include/asm-$(ARCH)$(BIASMDIR)) | ||
37 | _dst := include/asm | ||
38 | endif | ||
39 | |||
40 | install := $(INSTALL_HDR_PATH)/$(_dst) | 31 | install := $(INSTALL_HDR_PATH)/$(_dst) |
41 | 32 | ||
42 | header-y := $(sort $(header-y) $(unifdef-y)) | 33 | header-y := $(sort $(header-y) $(unifdef-y)) |