diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2005-08-20 15:00:43 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-20 15:00:43 +0000 |
commit | dcfe3eb461ab5405aa49bdcd5dc2b5b40110d8d7 (patch) | |
tree | 7dc5237322becc70ab2fa003331ad65a2d8cb9b2 | |
parent | 48c241c26601fe3bf36de1b8aaff871723c7daf5 (diff) | |
parent | 1a7df4494bc9678334ed1ba386d4083777c41aed (diff) |
merge of 627144113ec3248e0a1cd33b66352d01bde87866
and e951982319017716291e547c31cf1a75b2ccd676
-rw-r--r-- | packages/alsa/alsa-driver_0.9.6-hh4c.bb | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/packages/alsa/alsa-driver_0.9.6-hh4c.bb b/packages/alsa/alsa-driver_0.9.6-hh4c.bb index deb4ee4505..d8f7dcfa0b 100644 --- a/packages/alsa/alsa-driver_0.9.6-hh4c.bb +++ b/packages/alsa/alsa-driver_0.9.6-hh4c.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Alsa Drivers" MAINTAINER = "Pigi" SECTION = "base" LICENSE = "GPL" -PR = "r4" +PR = "r5" SRC_URI = "ftp://ftp.handhelds.org/packages/alsa-driver/alsa-driver-${PV}.tar.gz \ file://sound.p.patch;patch=1 \ @@ -12,14 +12,33 @@ SRC_URI = "ftp://ftp.handhelds.org/packages/alsa-driver/alsa-driver-${PV}.tar.gz inherit autotools module -EXTRA_OECONF=" --with-sequencer=no \ +EXTRA_OECONF = "--with-sequencer=yes \ --with-isapnp=no \ --with-oss=yes \ --with-kernel=${STAGING_KERNEL_DIR} \ --with-kernel-version=${KERNEL_VERSION}" +PACKAGES =+ "${PN}-midi ${PN}-misc" FILES_${PN} = "/lib/modules/*/misc/snd* \ ${sysconfdir}/modutils/*" +midi_modules = "snd-seq-midi-emul.o \ + snd-seq-midi-event.o \ + snd-seq-midi.o \ + snd-seq-virmidi.o \ + snd-seq-oss.o" +FILES_${PN}-midi = "${@' '.join(map ((lambda x: '/lib/modules/*/misc/%s' % x), bb.data.getVar('midi_modules', d).split()))}" +misc_modules = "snd-gus-synth.o \ + snd-emu8000-synth.o \ + snd-emux-synth.o \ + snd-ainstr-fm.o \ + snd-ainstr-gf1.o \ + snd-ainstr-iw.o \ + snd-ainstr-simple.o" +FILES_${PN}-misc = "${@' '.join(map ((lambda x: '/lib/modules/*/misc/%s' % x), bb.data.getVar('misc_modules', d).split()))}" + +# put in-kernel headers first in the include search path. +# without this all configure checks fail +CFLAGS =+ "-I${STAGING_KERNEL_DIR}/include" do_configure() { @@ -46,16 +65,9 @@ fi if grep "CONFIG_ARCH_H3900=y" "${STAGING_KERNEL_DIR}/.config" ; then familiar_arch=ipaqpxa fi -extra_modules="snd-gus-synth.o snd-emu8000-synth.o snd-emux-synth.o \ - snd-ainstr-fm.o snd-ainstr-gf1.o snd-ainstr-iw.o snd-ainstr-simple.o \ - snd-seq-midi-emul.o snd-seq-midi-event.o snd-seq-midi.o snd-seq-virmidi.o snd-seq-oss.o" fakeroot make -k NODEPMOD=yes DESTDIR=${D} install; - for i in ${extra_modules}; - do rm -f ${D}/lib/modules/*/misc/$i; - done - if [ -d ${D}${sysconfdir}/modutils/ ] ; then rm -r ${D}${sysconfdir}/modutils/ ; fi |