UBUNTU: (no-up) add support for installed header files to ubuntu directory
authorAndy Whitcroft <apw@canonical.com>
Fri, 3 Dec 2010 09:51:33 +0000 (09:51 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:51:55 +0000 (06:51 -0700)
BugLink: http://bugs.launchpad.net/bugs/684666

We need the aufs headers in the linux-libc-headers, add support for
including files from the ubuntu include directory.

Signed-off-by: Andy Whitcroft <apw@canonical.com>

Makefile

index 7d928cd..fd21475 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1039,6 +1039,7 @@ headers_install: __headers
        $(error Headers not exportable for the $(SRCARCH) architecture))
        $(Q)$(MAKE) $(hdr-inst)=include
        $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/asm $(hdr-dst)
+       $(Q)$(MAKE) $(hdr-inst)=ubuntu/include dst=include
 
 PHONY += headers_check_all
 headers_check_all: headers_install_all
@@ -1048,6 +1049,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)=ubuntu/include dst=include HDRCHECK=1
 
 # ---------------------------------------------------------------------------
 # Modules