开发者

How to compile all source files (default make target does not compile all of them)

开发者 https://www.devze.com 2022-12-22 22:38 出处:网络
when I compile android (http://source.android.com/download) it does not compile some source files. For example there is external/bluetooth/bluez/sbc/sbc.c which is not compiled. There are also other s

when I compile android (http://source.android.com/download) it does not compile some source files. For example there is external/bluetooth/bluez/sbc/sbc.c which is not compiled. There are also other such files.

开发者_如何学运维

It's possible those files need not to be compiled. Or it might be that I need some special configuration to compile them.

Either way, if it is possible, I'd like to compile them. Is there some way to do it? Maybe some "compile_all" make target?

(I believe the reason why I want to compile all source files is not important)


Make configurations can certainly vary depending on who is doing the build (like different vendors). You can take a look at people that do custom compilations to get a feel for how they do it, there is some good information regarding Android development (building the OS) on the XDA Developers forums although that is primarly regarding phone devices. But I would take a look at some of the public repositories for people that do Android builds so you can get a feel for the different make configurations, there are a fair amount on github, particularly here is Cyanogen's http://github.com/cyanogen/android_build

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号