[PATCH 34/35] UAPI: Make UAPI headers install to usr/include/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make core UAPI headers install to the usr/include/ directory.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3192b2e..8dff6e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1072,7 +1072,7 @@ headers_install: __headers
 	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/asm $(hdr-dst)
 	$(if $(wildcard $(srctree)/arch/$(hdr-arch)/uapi/asm/Kbuild),, \
 	$(error Headers not exportable for the $(SRCARCH) architecture))
-	$(Q)$(MAKE) $(hdr-inst)=uapi
+	$(Q)$(MAKE) $(hdr-inst)=uapi dst=include
 	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/uapi/asm $(hdr-dst)
 
 PHONY += headers_check_all
@@ -1083,7 +1083,7 @@ PHONY += headers_check
 headers_check: headers_install
 	$(Q)$(MAKE) $(hdr-inst)=include HDRCHECK=1
 	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/asm $(hdr-dst) HDRCHECK=1
-	$(Q)$(MAKE) $(hdr-inst)=uapi HDRCHECK=1
+	$(Q)$(MAKE) $(hdr-inst)=uapi HDRCHECK=1 dst=include
 	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/uapi/asm $(hdr-dst) HDRCHECK=1
 
 # ---------------------------------------------------------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux