diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2014-05-29 14:03:39 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:51:35 -0700 |
| commit | 38c7200e095dfef98a61d970baad8dbde5fe3cba (patch) | |
| tree | 4230e2158fa2280a482b7705ee36336d662c7aa8 | |
| parent | 728e0ec2a6712356f767f6657d2edbb2f3241ab4 (diff) | |
scripts/Makefile.headersinst: install staging UAPI header files to usr
Currently when UAPI headers for a staging driver are kept under the
drivers/staging directory, `make headers_install' installs them to
<install_prefix>/drivers instead of the usual <install_prefix>/usr. This
is a non-standard and unexpected location. Fix this by doing the
necessary string substitutions so that the UAPI headers for staging
drivers end up in <install_prefix>/usr/include/linux/staging.
Change-Id: Ibf6b813e69eea78fc59a4a505c75c6093eca70dd
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
| -rw-r--r-- | scripts/Makefile.headersinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 1106d6ca3a38..ed95cb4e515f 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -124,7 +124,7 @@ endif # Recursion .PHONY: $(subdirs) $(subdirs): - $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(_dst)/$@ + $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(_dst)/$(subst drivers/staging,usr/include/linux/staging,$@) targets := $(wildcard $(sort $(targets))) cmd_files := $(wildcard \ |
