Hi there,

While trying to use alsa on freewrt I ran into a Problem when trying to
load snd-page-alloc. This can be solved by adding an additional
compiler Flag when building alsa modules!

Please apply the following patch for
target/linux/package/alsa/Makefile in subversion tree 

--cut--
--- Makefile.orig       2006-08-20 17:51:11.634272549 +0200
+++ Makefile    2006-08-20 18:30:31.800973142 +0200
@@ -20,7 +20,7 @@
 endif
 ifeq ($(LINUX_KARCH),mips)
 KERNEL_C_INCS:= -I$(LINUX_DIR)/include/asm-mips/mach-generic
-KERNEL_C_OPTS:= -Os -G 0 -mno-abicalls -fno-pic -finline-limit=100000 -mabi=32 
-march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap
+KERNEL_C_OPTS:= -Os -G 0 -mno-abicalls -fno-pic -finline-limit=100000 -mabi=32 
-march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -mlong-calls
 endif
 
 $(eval $(call 
PKG_template,KMOD_ALSA,kmod-alsa,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel
 ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
--cut--

Regards

Sven

P.S.: Did anybody of you succeed in building asoundlib and utils like aplay?

-- 
"linux is evolution, not intelligent design"
(Linus Torvalds)

/me is [EMAIL PROTECTED], http://sven.gegg.us/ on the Web
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to