summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorXavier Boudet <x-boudet@ti.com>2012-02-23 17:17:06 +0100
committerXavier Boudet <x-boudet@ti.com>2012-11-05 14:37:43 +0100
commitb63a7eb5842397a22eb551943cd0271441ba4bf9 (patch)
tree82b6d2f3e6d341fc31d4cc851084c7362bd8de14 /debian
parent1c53ead87bca9b5d0aeaa85d18818193c082ca8f (diff)
UBUNTU: add omap_drv.h and omap_drm.h to linux-headers-<abi>-omap4
Add sym link for omap_drm.h and omap_drv.h in include/linux Force delivery of the 2 files into drivers/staging/omapdrm Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/rules.d/2-binary-arch.mk4
-rw-r--r--debian/rules.d/3-binary-indep.mk1
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index c8fd73b51241..e696d7bac267 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -233,6 +233,10 @@ endif
mv $(pkgdir)/lib/modules/$(abi_release)-$*/_/* \
$(pkgdir)/lib/modules/$(abi_release)-$*
rmdir $(pkgdir)/lib/modules/$(abi_release)-$*/_
+ # Time for dirty temporary hack:
+ ln -s ../../drivers/staging/omapdrm/omap_drv.h $(hdrdir)/include/linux/omap_drv.h
+ ln -s ../../drivers/staging/omapdrm/omap_drm.h $(hdrdir)/include/linux/omap_drm.h
+
headers_tmp := $(CURDIR)/debian/tmp-headers
headers_dir := $(CURDIR)/debian/linux-libc-dev
diff --git a/debian/rules.d/3-binary-indep.mk b/debian/rules.d/3-binary-indep.mk
index 462d7219cd25..2e731472db19 100644
--- a/debian/rules.d/3-binary-indep.mk
+++ b/debian/rules.d/3-binary-indep.mk
@@ -43,6 +43,7 @@ ifeq ($(do_flavour_header_package),true)
cp -a drivers/media/dvb/dvb-core/*.h $(indep_hdrdir)/drivers/media/dvb/dvb-core
cp -a drivers/media/video/*.h $(indep_hdrdir)/drivers/media/video
cp -a drivers/media/dvb/frontends/*.h $(indep_hdrdir)/drivers/media/dvb/frontends
+ cp -a drivers/staging/omapdrm/*.h $(indep_hdrdir)/drivers/staging/omapdrm
cp -a scripts include $(indep_hdrdir)
(find arch -name include -type d -print | \
xargs -n1 -i: find : -type f) | \