add alsa kernel driver (thanks to David Collet)
[15.05/openwrt.git] / target / linux / package / alsa / patches / 100-kernel_cflags.patch
1 diff -rNu alsa-driver-1.0.9b/Makefile.conf.in alsa-driver-1.0.9b.new/Makefile.conf.in
2 --- alsa-driver-1.0.9b/Makefile.conf.in 2005-04-15 23:09:33.000000000 +1000
3 +++ alsa-driver-1.0.9b.new/Makefile.conf.in     2005-09-04 11:29:15.000000000 +1000
4 @@ -53,6 +53,8 @@
5  INCLUDE                = -I$(TOPDIR)/include @EXTRA_INCLUDES@ @KERNEL_INC@
6  CFLAGS         = $(MODFLAGS) $(INCLUDE) $(c_opts) -Wall -Wstrict-prototypes \
7         -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common \
8 +        -mno-abicalls -fno-pic -finline-limit=100000 -mabi=32 -march=mips32 \
9 +        -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -mlong-calls \
10         -pipe -DALSA_BUILD -nostdinc -iwithprefix include
11  ifdef CONFIG_SND_MVERSION
12  CFLAGS += -DMODVERSIONS -include $(CONFIG_SND_KERNELDIR)/include/linux/modversions.h