summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-07-09 14:32:35 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-07-09 14:43:19 -0400
commita8ff49a1d92da4eb566d026adc43946852975129 (patch)
treede89a4354cdc5e30d1fa676b12cd67a9669325bd /Makefile
parent0f042eea0a4a4fb1b1999784d745a47c0bb2c2f9 (diff)
kbuild: pass dst= to Makefile.headersinst from top Makefile
We can always pass dst= from the top Makefile. This will simplify the logic in Makefile.headersinst. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ce5875628740..70c414b15859 100644
--- a/Makefile
+++ b/Makefile
@@ -1154,7 +1154,7 @@ PHONY += headers_install
1154headers_install: __headers 1154headers_install: __headers
1155 $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \ 1155 $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \
1156 $(error Headers not exportable for the $(SRCARCH) architecture)) 1156 $(error Headers not exportable for the $(SRCARCH) architecture))
1157 $(Q)$(MAKE) $(hdr-inst)=include/uapi 1157 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include
1158 $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) 1158 $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst)
1159 1159
1160PHONY += headers_check_all 1160PHONY += headers_check_all
@@ -1163,7 +1163,7 @@ headers_check_all: headers_install_all
1163 1163
1164PHONY += headers_check 1164PHONY += headers_check
1165headers_check: headers_install 1165headers_check: headers_install
1166 $(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1 1166 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1
1167 $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) HDRCHECK=1 1167 $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) HDRCHECK=1
1168 1168
1169# --------------------------------------------------------------------------- 1169# ---------------------------------------------------------------------------