Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4463677
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

分类: 嵌入式

2015-07-28 12:35:23

ftp://ftp.alsa-project.org/pub/utils/
下载最新版的alsa-utils
解压代码
 tar -xvf alsa-utils-1.0.9.tar.bz2 
cd alsa-utils-1.0.9/
配置,需要先编译alsa-lib,我已经编译好安装到/opt/sun5i目录下,alsa-lib编译请参照http://blog.chinaunix.net/uid-20680966-id-5126004.html
交叉编译不需要带界面的alsamixer,直接使用amixer

./configure --prefix=/opt/sun5i --build=arm-linux --host=x86-64-linux  CC=arm-none-linux-gnueabi-gcc --with-alsa-prefix=/opt/sun5i/lib --with-alsa-inc-prefix=/opt/sun5i/include --disable-alsamixer
编译
make
安装
sudo make install

阅读(2946) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~