aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.headersinst
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-04-10 08:52:43 +0200
committerSam Ravnborg <sam@ravnborg.org>2009-04-11 08:18:08 +0200
commitc7bb349e7c25df1ae1bbb72675b9bb02e1d9c464 (patch)
treea406b9af934e7541a9c000a74419e1ba09664c7e /scripts/Makefile.headersinst
parentkbuild: use git svn instead of git-svn in setlocalversion (diff)
downloadlinux-dev-c7bb349e7c25df1ae1bbb72675b9bb02e1d9c464.tar.xz
linux-dev-c7bb349e7c25df1ae1bbb72675b9bb02e1d9c464.zip
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 '')
-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)