diff options
author | Philip Balister <philip@balister.org> | 2008-07-03 12:44:59 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2008-07-03 12:44:59 +0000 |
commit | 8dfedb7131d2aea7829ae4c0640ce388dfa8d582 (patch) | |
tree | b8c9cdfcc255f1bc264ce41baad11801a11c365e | |
parent | 102eaa322eb18302832a1059e8ba1f12aeb5a679 (diff) |
dsplink : Package sample programs and install them on Davinci images.
-rw-r--r-- | conf/machine/davinci-dvevm.conf | 1 | ||||
-rw-r--r-- | conf/machine/davinci-sffsdr.conf | 1 | ||||
-rw-r--r-- | packages/dsplink/dsplink.inc | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/conf/machine/davinci-dvevm.conf b/conf/machine/davinci-dvevm.conf index ba7a099825..bc9d28870b 100644 --- a/conf/machine/davinci-dvevm.conf +++ b/conf/machine/davinci-dvevm.conf @@ -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 diff --git a/conf/machine/davinci-sffsdr.conf b/conf/machine/davinci-sffsdr.conf index 1977da8104..efaffb088b 100644 --- a/conf/machine/davinci-sffsdr.conf +++ b/conf/machine/davinci-sffsdr.conf @@ -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 diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc index 877697eb99..2fa4aae8e0 100644 --- a/packages/dsplink/dsplink.inc +++ b/packages/dsplink/dsplink.inc @@ -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}" |