dsplink : Package sample programs and install them on Davinci images.
authorPhilip Balister <philip@balister.org>
Thu, 3 Jul 2008 12:44:59 +0000 (12:44 +0000)
committerPhilip Balister <philip@balister.org>
Thu, 3 Jul 2008 12:44:59 +0000 (12:44 +0000)
conf/machine/davinci-dvevm.conf
conf/machine/davinci-sffsdr.conf
packages/dsplink/dsplink.inc

index ba7a099..bc9d288 100644 (file)
@@ -22,6 +22,7 @@ EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
 
 MACHINE_FEATURES = "kernel26 pcmcia usbhost alsa"
 
+MACHINE_EXTRA_RDEPENDS = "dsplink"
 MACHINE_EXTRA_RRECOMMENDS = "dsplink-module"
 
 require conf/machine/include/tune-arm926ejs.inc
index 1977da8..efaffb0 100644 (file)
@@ -25,6 +25,7 @@ EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
 
 MACHINE_FEATURES = "kernel26 serial"
 
+MACHINE_EXTRA_RDEPENDS = "dsplink"
 MACHINE_EXTRA_RRECOMMENDS = "dsplink-module"
 
 require conf/machine/include/tune-arm926ejs.inc
index 877697e..2fa4aae 100644 (file)
@@ -66,6 +66,10 @@ do_compile () {
 do_install () {
        install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
        cp ${S}/gpp/BUILD/EXPORT/RELEASE/dsplinkk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/
+
+       install -d ${D}/${bindir}
+       install ${S}/gpp/BUILD/EXPORT/RELEASE/mpcsxfergpp ${D}/${bindir}
+       install ${S}/gpp/BUILD/EXPORT/RELEASE/ringiogpp   ${D}/${bindir}
 }
 
 pkg_postinst_${PN}-module () {
@@ -82,6 +86,7 @@ pkg_postrm_${PN}-module () {
 
 PACKAGES =+ "${PN}-module"
 FILES_${PN}-module  = "${sysconfdir} /lib/modules"
+FILES_${PN} = "${bindir}/mpcsxfergpp ${bindir}/ringiogpp"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"