bluez编译移植(4)
时间:2025-07-09
时间:2025-07-09
我自己的bluez编译
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
3. 运行./configure --prefix=/bluetooth/glib --host=arm-linux --cache-file=arm-linux.cache
Bluez编译步骤
1.以上的文件都编译好之后开始编译bluez ,运行./configure --prefix=/bluetooth/bluez –-host=arm-linux
2 make ->make install
3 进入编译生成的目录/bluetooth/bluez,把目录bin和sbin下的内容拷贝到制作文件系统根目录下对应的目录,我的是cp /bluetooth/bluez/bin/*
/home/hbuser/tools/busybox-1.14.1/_install/bin和 cp /Bluetooth/bluez/sbin/*
/home/hbuser/tools/busybox-1.14.1/_install/sbin/ 接着拷贝bluez里的命令所要使用的动态库。Cp –av
/Bluetooth/bluez/lib/lib* /home/hbuser/tools/_install/lib下。
4 把busybox-1.14.1/_install下的目录当成nfs系统的根目录,启动开发板,这里还需要配置内核保证对蓝牙设备的支持。 5 对内核进行配置:
上一篇:磁粉检测通用工艺守则