FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

LinkBack Thread Tools
Old 12-05-2008, 11:36 AM
Andy Whitcroft
Default UBUNTU: synchronise our linux-libc-dev with the kernel userspace headers

It seems that the kernel user space headers have expanded to include
some new directories for sound and the like, the full list:

asm asm-generic linux mtd rdma sound video

We currently explicitly list the headers we will include in our
linux-libc-dev. Which means we only include the asm* and linux
directories, which makes difficulties for porters. Debian already
includes all of these in their packages.

It seems appropriate that we include all of the officially exported
userspace headers from the kernel. Move to taking all of the headers that
the header_install target generates so that we track and furture changes.

Also take this oppotunity to elide a couple of build file which seem to
be being produced, .install and ..install.cmd which seem to be noise.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
debian/rules.d/2-binary-arch.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index cafb1b0..c0e3be5 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -178,10 +178,10 @@ install-arch-headers:
$(hmake) silentoldconfig
$(hmake) headers_install

- mv $(headers_tmp)/install/include/asm*
- $(headers_dir)/usr/include/
- mv $(headers_tmp)/install/include/linux
- $(headers_dir)/usr/include/
+ ( cd $(headers_tmp)/install/include/ &&
+ find . -name '.' -o -name '.*' -prune -o -print |
+ cpio -pvd --preserve-modification-time
+ $(headers_dir)/usr/include/ )

rm -rf $(headers_tmp)


kernel-team mailing list

Thread Tools

All times are GMT. The time now is 05:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org