Ignore:
Timestamp:
Jun 9, 2016, 10:38:13 PM (9 years ago)
Author:
David Azarewicz
Message:

Rearrange directory structure
rework makefiles
cleanup files

Location:
GPL/trunk/alsa-kernel/pci
Files:
28 added
48 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/ac97/Makefile

    r398 r587  
     1!ifndef %ROOT
     2!error ROOT is not defined. Please check your SETENV.CMD.
     3!endif
     4ROOT=$(%ROOT)
     5
     6!include $(ROOT)\tools\header.mif
     7
     8
     9#===================================================================
    110#
    2 # Makefile for ALSA
    3 # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
     11#   List of source files
    412#
     13#===================================================================
     14FILES = ac97_codec.obj ac97_pcm.obj ac97_proc.obj
    515
    6 snd-ac97-codec-y := ac97_codec.o ac97_pcm.o
    7 snd-ac97-codec-$(CONFIG_PROC_FS) += ac97_proc.o
     16TARGET = ac97
    817
    9 # Toplevel Module Dependency
    10 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o
     18LNKFILE = $(OBJDIR)\$(TARGET).lnk
     19
     20
     21#===================================================================
     22#
     23#   Specific dependencies
     24#
     25#===================================================================
     26all: $(OBJDIR)\$(TARGET).lib
     27
     28
     29$(LNKFILE): Makefile
     30    @%create $(LNKFILE)
     31    @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
     32
     33$(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
     34    $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
     35    copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
     36
     37clean: .SYMBOLIC
     38    -@rm *.err
     39    @if exist obj @rm.exe -r obj
     40    @if exist bin @rm.exe -r bin
     41
  • GPL/trunk/alsa-kernel/pci/au88x0/Makefile

    r398 r587  
    1 snd-au8810-objs := au8810.o
    2 snd-au8820-objs := au8820.o
    3 snd-au8830-objs := au8830.o
     1!ifndef %ROOT
     2!error ROOT is not defined. Please check your SETENV.CMD.
     3!endif
     4ROOT=$(%ROOT)
    45
    5 obj-$(CONFIG_SND_AU8810) += snd-au8810.o
    6 obj-$(CONFIG_SND_AU8820) += snd-au8820.o
    7 obj-$(CONFIG_SND_AU8830) += snd-au8830.o
     6!include $(ROOT)\tools\header.mif
     7
     8
     9#===================================================================
     10#
     11#   List of source files
     12#
     13#===================================================================
     14# au8810.obj au8810_core.obj au8810_pcm.obj au8810_mixer.obj au8810_mpu401.obj au8810_eq.obj
     15FILES = au8820.obj au8820_core.obj au8820_pcm.obj au8820_mixer.obj au8820_mpu401.obj au8820_synth.obj
     16# au8830.obj au8830_core.obj au8830_pcm.obj au8830_mixer.obj au8830_mpu401.obj au8830_eq.obj au8830_synth.obj
     17
     18TARGET = au88xx
     19
     20LNKFILE = $(OBJDIR)\$(TARGET).lnk
     21
     22
     23#===================================================================
     24#
     25#   Specific dependencies
     26#
     27#===================================================================
     28all: $(OBJDIR)\$(TARGET).lib
     29
     30
     31$(LNKFILE): Makefile
     32    @%create $(LNKFILE)
     33    @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
     34
     35$(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
     36    $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
     37    copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
     38
     39clean: .SYMBOLIC
     40    -@rm  *.err
     41    @if exist obj @rm.exe -r obj
     42    @if exist bin @rm.exe -r bin
     43
  • GPL/trunk/alsa-kernel/pci/ca0106/Makefile

    r398 r587  
    1 snd-ca0106-objs := ca0106_main.o ca0106_proc.o ca0106_mixer.o ca_midi.o
     1!ifndef %ROOT
     2!error ROOT is not defined. Please check your SETENV.CMD.
     3!endif
     4ROOT=$(%ROOT)
    25
    3 obj-$(CONFIG_SND_CA0106) += snd-ca0106.o
     6!include $(ROOT)\tools\header.mif
     7
     8
     9#===================================================================
     10#
     11#   List of source files
     12#
     13#===================================================================
     14FILES = ca0106_main.obj ca0106_proc.obj ca0106_mixer.obj &
     15  ca_midi.obj
     16
     17TARGET = ca0106
     18
     19LNKFILE = $(OBJDIR)\$(TARGET).lnk
     20
     21
     22#===================================================================
     23#
     24#   Specific dependencies
     25#
     26#===================================================================
     27all: $(OBJDIR)\$(TARGET).lib
     28
     29
     30$(LNKFILE): Makefile
     31    @%create $(LNKFILE)
     32    @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
     33
     34$(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
     35    $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
     36    copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
     37
     38clean: .SYMBOLIC
     39    -@rm *.err
     40    @if exist obj @rm.exe -r obj
     41    @if exist bin @rm.exe -r bin
     42
  • GPL/trunk/alsa-kernel/pci/ymfpci/ymfpci_main.c

    r464 r587  
    847847{
    848848        .info =                 (SNDRV_PCM_INFO_MMAP |
    849                                  SNDRV_PCM_INFO_MMAP_VALID | 
     849                                 SNDRV_PCM_INFO_MMAP_VALID |
    850850                                 SNDRV_PCM_INFO_INTERLEAVED |
    851851                                 SNDRV_PCM_INFO_BLOCK_TRANSFER |
     
    19581958 */
    19591959
    1960 static void snd_ymfpci_proc_read(struct snd_info_entry *entry, 
     1960static void snd_ymfpci_proc_read(struct snd_info_entry *entry,
    19611961                                 struct snd_info_buffer *buffer)
    19621962{
     
    21122112           covered with the kernel page allocation mechanism */
    21132113        if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci),
    2114                                 size, &chip->work_ptr) < 0) 
     2114                                size, &chip->work_ptr) < 0)
    21152115                return -ENOMEM;
    21162116        ptr = chip->work_ptr.area;
     
    22182218#if 0
    22192219        /* FIXME: temporarily disabled, otherwise we cannot fire up
    2220          * the chip again unless reboot.  ACPI bug?
     2220         * the chip again unless reboot.
    22212221         */
    22222222        pci_set_power_state(chip->pci, 3);
Note: See TracChangeset for help on using the changeset viewer.