summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-04-10 10:52:43 +0400
committerSam Ravnborg <sam@ravnborg.org>2009-04-11 10:18:08 +0400
commitc7bb349e7c25df1ae1bbb72675b9bb02e1d9c464 (patch)
treea406b9af934e7541a9c000a74419e1ba09664c7e /scripts
parent4774bb1ced60a94d83b28e5a42d4cf01b83d9b60 (diff)
downloadlinux-c7bb349e7c25df1ae1bbb72675b9bb02e1d9c464.tar.xz
kbuild: introduce destination-y for exported headers
xtensa and arm have asked for a possibility to export headers and locate them in a specific directory when exported. Introduce destiantion-y to support this. This patch in additiona adds some limited documentation for the variables used for exported headers. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Oskar Schirmer <os@emlix.com> Cc: Mikael Starvik <mikael.starvik@axis.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.headersinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index 612dc13ddd85..095cfc8b9dbf 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -14,6 +14,8 @@ _dst := $(if $(dst),$(dst),$(obj))
kbuild-file := $(srctree)/$(obj)/Kbuild
include $(kbuild-file)
+_dst := $(if $(destination-y),$(destination-y),$(_dst))
+
include scripts/Kbuild.include
install := $(INSTALL_HDR_PATH)/$(_dst)