Patchwork UBUNTU: installing omapdrm specific headers for external drivers

login
register
mail settings
Submitter Paolo Pisati
Date Aug. 20, 2012, 7:40 a.m.
Message ID <1345448411-14963-2-git-send-email-paolo.pisati@canonical.com>
Download mbox | patch
Permalink /patch/178696/
State New
Headers show

Comments

Paolo Pisati - Aug. 20, 2012, 7:40 a.m.
From: Ricardo Salveti de Araujo <ricardo.salveti@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@linaro.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 debian/rules.d/3-binary-indep.mk |    1 +
 1 file changed, 1 insertion(+)
Tim Gardner - Aug. 20, 2012, 12:32 p.m.
Applied to master-next so that it gets picked up on the next ti-omap4 
rebase against master, and so that it also gets check pointed for R.

Patch

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) | \