]> code.ossystems Code Review - openembedded-core.git/commitdiff
libc-package.bbclass: should not rm scsi/*.h
authorDexuan Cui <dexuan.cui@intel.com>
Sat, 15 Jan 2011 10:50:14 +0000 (18:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jan 2011 22:05:10 +0000 (22:05 +0000)
{e}glibc should install the scsi/*.h files, which are needed by hal.
Currently hal can build because eglibc-initial (which has its own do_install)
installs the files. In future eglibc will have its own sysroot, so hal
won't build.

BTW: in OE side, eglibc's do_install also doesn't remove the files.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
meta/classes/libc-package.bbclass

index 4709b33c0e9c6579c52a5e9485ceda38fd560029..733f26b85ee6953c52c8626b85be54d7650225bf 100644 (file)
@@ -95,9 +95,6 @@ do_install() {
                mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
        done
        rm -f ${D}{sysconfdir}/rpc
-       rm -f ${D}${includedir}/scsi/sg.h
-       rm -f ${D}${includedir}/scsi/scsi_ioctl.h
-       rm -f ${D}${includedir}/scsi/scsi.h
        rm -rf ${D}${datadir}/zoneinfo
        rm -rf ${D}${libexecdir}/getconf
 }