All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove scsi headers from linux-libc-headers
@ 2010-04-27 20:49 Tom Rini
  2010-04-27 21:04 ` [PATCHv2] " Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tom Rini @ 2010-04-27 20:49 UTC (permalink / raw)
  To: oe-devel

linux-libc-headers: Go and delete include/scsi when it exists

With 2.6.31, the kernel started exporting SCSI headers again.  After
talking with Christoph Hellwig and James Bottemley (scsi maintainer),
these really should be removed.  A patch to the kernel to do so will be
happening shortly, but for now fixup the broken recipes we have.

Signed-off-by: Tom Rini <tom_rini@mentor.com>

diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb
b/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb
index 2e4041f..c2cf5d4 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb
@@ -2,7 +2,7 @@ require linux-libc-headers.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
-PR = "r3"
+PR = "r4"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -44,6 +44,7 @@ do_compile () {
 do_install() {
 	set_arch
 	oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=
$ARCH
+	rm -rf ${D}${exec_prefix}/include/scsi
 }
 
 SRC_URI[md5sum] = "84c077a37684e4cbfa67b18154390d8a"
diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb
b/recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb
index d82a749..b8b109e 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb
@@ -2,7 +2,7 @@ require linux-libc-headers.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
-PR = "r3"
+PR = "r4"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -44,6 +44,7 @@ do_compile () {
 do_install() {
 	set_arch
 	oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=
$ARCH
+	rm -rf ${D}${exec_prefix}/include/scsi
 }
 
 SRC_URI[md5sum] = "260551284ac224c3a43c4adac7df4879"



-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-03 19:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 20:49 [PATCH] Remove scsi headers from linux-libc-headers Tom Rini
2010-04-27 21:04 ` [PATCHv2] " Tom Rini
2010-04-28 16:01   ` [PATCHv3] Remove scsi/scsi.h header " Tom Rini
2010-04-28 16:22     ` Koen Kooi
2010-05-03 19:23     ` Tom Rini
2010-04-27 21:22 ` [PATCH] Remove scsi headers " Khem Raj
2010-04-27 21:54 ` Koen Kooi
2010-04-27 22:06   ` Tom Rini
2010-04-28  6:34     ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.