diff options
author | Rene Wagner <rw@handhelds.org> | 2005-08-19 23:31:09 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-19 23:31:09 +0000 |
commit | 4d55ea2663d955b5b943b57133bfe7c5214b4c67 (patch) | |
tree | 0ac3ceea34ab29500f11b4df7549eee870b4e568 /packages/alsa | |
parent | de5e5704ce3a5057d61eb9998b137f06ca7f351c (diff) | |
parent | a085235edaa93ff6bbca5eb0c48845136450a90a (diff) |
merge of 53c3998433827708e1843cf45b66245efd40351f
and fd3359169ab35d936eb42674ae4c0db5e7c4366d
Diffstat (limited to 'packages/alsa')
-rw-r--r-- | packages/alsa/alsa-driver/sa11xx.patch | 38 | ||||
-rw-r--r-- | packages/alsa/alsa-driver_0.9.6-hh4c.bb | 43 |
2 files changed, 53 insertions, 28 deletions
diff --git a/packages/alsa/alsa-driver/sa11xx.patch b/packages/alsa/alsa-driver/sa11xx.patch new file mode 100644 index 0000000000..34509b13b0 --- /dev/null +++ b/packages/alsa/alsa-driver/sa11xx.patch @@ -0,0 +1,38 @@ +--- ./alsa-kernel/arm/sa11xx-uda1341.c 2005-06-27 12:59:53.000000000 +0200 ++++ ./alsa-kernel/arm/sa11xx-uda1341.c.orig 2005-06-27 12:59:29.000000000 +0200 +@@ -366,7 +366,7 @@ + DEBUG("\t request id <%s>\n", s->id); + DEBUG("\t request dma_dev = 0x%x \n", s->dma_dev); + if((ret = sa1100_request_dma((s)->dma_dev, (s)->id, callback, s, &((s)->dma_regs)))) +- printk(__FUNCTION__ ": sa1100_request_dma returned %d\n",ret); ++ printk("%s: sa1100_request_dma returned %d\n",__FUNCTION__,ret); + + + +@@ -978,7 +978,7 @@ + switch (req) { + case PM_SUSPEND: /* enter D1-D3 */ + if (card->power_state == SNDRV_CTL_POWER_D3hot){ +- printk(__FUNCTION__ ": exiting eraly from suspend\n"); ++ printk("%s: exiting eraly from suspend\n",__FUNCTION__); + return 0; + } + snd_power_lock(card); +@@ -1002,7 +1002,7 @@ + case PM_RESUME: /* enter D0 */ + + if (card->power_state == SNDRV_CTL_POWER_D0){ +- printk(__FUNCTION__ ": exiting eraly from resume\n"); ++ printk("%s: exiting eraly from resume\n",__FUNCTION__); + return 0; + } + snd_power_lock(card); +@@ -1020,7 +1020,7 @@ + + break; + } +- printk(KERN_DEBUG __FUNCTION__": exiting...\n"); ++ printk(KERN_DEBUG "%s: exiting...\n",__FUNCTION__); + return 0; + + } diff --git a/packages/alsa/alsa-driver_0.9.6-hh4c.bb b/packages/alsa/alsa-driver_0.9.6-hh4c.bb index bf307d13e2..a909c0211c 100644 --- a/packages/alsa/alsa-driver_0.9.6-hh4c.bb +++ b/packages/alsa/alsa-driver_0.9.6-hh4c.bb @@ -1,32 +1,25 @@ DESCRIPTION = "Alsa Drivers" MAINTAINER = "Pigi" -SECTION = "console/utils" +SECTION = "base" LICENSE = "GPL" -#DEPENDS = "alsa-lib" - +PR = "r2" SRC_URI = "ftp://ftp.handhelds.org/packages/alsa-driver/alsa-driver-${PV}.tar.gz \ file://sound.p.patch;patch=1 \ - file://h5400.patch;patch=1 \ - file://adriver.h.patch;patch=1 " + file://sa11xx.patch;patch=1 \ + file://adriver.h.patch;patch=1" -#inherit autotools -#inherit module +inherit autotools module -#EXTRA_OECONF = " --with-isapnp=no " -EXTRA_OECONF=" --with-sequencer=no --with-isapnp=no --with-oss=yes --with-cards=${cards} --with-kernel=${STAGING_KERNEL_DIR} --with-kernel-version=${KERNEL_VERSION} --host=arm-linux" -#EXTRA_OECONF = " /ext/ambient/tmp/work/handhelds-sa-2.4.19-rmk6-pxa1-hh37.4-r5/kernel/ " +EXTRA_OECONF=" --with-sequencer=no \ + --with-isapnp=no \ + --with-oss=yes \ + --with-kernel=${STAGING_KERNEL_DIR} \ + --with-kernel-version=${KERNEL_VERSION}" do_configure() { -VERS=`grep "^VERSION =" ${STAGING_KERNEL_DIR}/Makefile | awk '{print $3}'` -PATLEV=`grep "^PATCHLEVEL =" ${STAGING_KERNEL_DIR}/Makefile | awk '{print $3}'` -SBLEV=`grep "^SUBLEVEL =" ${STAGING_KERNEL_DIR}/Makefile | awk '{print $3}'` -EXVER=`grep "^EXTRAVERSION =" ${STAGING_KERNEL_DIR}/Makefile | awk '{print $3}'` - -KERNEL_VERSION=$VERS.$PATLEV.$SBLEV$EXVER - cards= if egrep "CONFIG_SA1100_H3[168]00=y" "${STAGING_KERNEL_DIR}/.config" ; then cards="$cards,sa11xx-uda1341" @@ -38,13 +31,10 @@ if grep "CONFIG_ARCH_H3900=y" "${STAGING_KERNEL_DIR}/.config" ; then fi cards="$cards,bluez-sco,pdaudiocf" - configure ${EXTRA_OECONF} - #./config.ipaq ${STAGING_KERNEL_DIR} - + oe_runconf --with-cards=${cards} } - do_install() { if egrep "CONFIG_SA1100_H3[168]00=y" "${STAGING_KERNEL_DIR}/.config" ; then @@ -63,13 +53,10 @@ extra_modules="snd-gus-synth.o snd-emu8000-synth.o snd-emux-synth.o \ do rm -f ${D}/lib/modules/*/misc/$i; done - if [ -d ${D}/${sysconfdir}/modutils/ ] ; then - rm -r ${D}/${sysconfdir}/modutils/ ; + if [ -d ${D}${sysconfdir}/modutils/ ] ; then + rm -r ${D}${sysconfdir}/modutils/ ; fi - mkdir ${D}/${sysconfdir}/modutils/ - cp familiar/alsa-modules-${familiar_arch} ${D}/${sysconfdir}/modutils/ + mkdir -p ${D}${sysconfdir}/modutils/ + cp familiar/alsa-modules-${familiar_arch} ${D}${sysconfdir}/modutils/ } -#FILES_alsa-driver = "/lib/modules/${KERNEL_VERSION}/misc/snd* /${sysconfdir}/init.d/ /${sysconfdir}" -FILES_${PN} = "/lib/modules/*/misc/snd* ${sysconfdir}/modutils/* " - |