diff options
Diffstat (limited to 'scripts/Makefile.headersinst')
-rw-r--r-- | scripts/Makefile.headersinst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 06ba4a70bd4d..25f216a841d5 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst | |||
@@ -7,15 +7,15 @@ | |||
7 | # | 7 | # |
8 | # ========================================================================== | 8 | # ========================================================================== |
9 | 9 | ||
10 | # called may set destination dir (when installing to asm/) | ||
11 | _dst := $(or $(destination-y),$(dst),$(obj)) | ||
12 | |||
13 | # generated header directory | 10 | # generated header directory |
14 | gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) | 11 | gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) |
15 | 12 | ||
16 | kbuild-file := $(srctree)/$(obj)/Kbuild | 13 | kbuild-file := $(srctree)/$(obj)/Kbuild |
17 | include $(kbuild-file) | 14 | include $(kbuild-file) |
18 | 15 | ||
16 | # called may set destination dir (when installing to asm/) | ||
17 | _dst := $(or $(destination-y),$(dst),$(obj)) | ||
18 | |||
19 | old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild | 19 | old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild |
20 | ifneq ($(wildcard $(old-kbuild-file)),) | 20 | ifneq ($(wildcard $(old-kbuild-file)),) |
21 | include $(old-kbuild-file) | 21 | include $(old-kbuild-file) |