[PATCH] UBUNTU: installing omapdrm specific headers for external drivers

Paolo Pisati paolo.pisati at canonical.com
Mon Aug 20 07:40:11 UTC 2012

From: Ricardo Salveti de Araujo <ricardo.salveti at linaro.org>

Both omap_drm.h and omap_drv.h have a link already available at
include/linux, as both are needed for the external PVR SGX kernel
module. Unfortunately, these links are only valid if the original files
are also copied to the linux-headers package.

BugLink: http://bugs.launchpad.net/bugs/1038846

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti at linaro.org>
Signed-off-by: Paolo Pisati <paolo.pisati at canonical.com>
 debian/rules.d/3-binary-indep.mk |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules.d/3-binary-indep.mk b/debian/rules.d/3-binary-indep.mk
index a3edfbc..0eb9d18 100644
--- a/debian/rules.d/3-binary-indep.mk
+++ b/debian/rules.d/3-binary-indep.mk
@@ -46,6 +46,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/omap_dr*.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) | \

More information about the kernel-team mailing list