android - 如何在Android Project中快速构建模块?

标签 android makefile

假设我有一个 Android 项目,并且已经编译。 如果我在内核中添加一个 printk,然后重新编译 make bootimage,它应该很快完成。

但是 Android 构建系统仍然会读取一堆 makefile,有什么办法可以跳过这个直接开始编译吗?

最佳答案

您可以尝试使用与此处相同的 hack: https://github.com/realdmitchell/condor-vendor-cm/blob/master/bootimage/Android.mk

这应该允许您使用 mmm make <path to bootimage dir>不解析树中的所有 makefile

关于android - 如何在Android Project中快速构建模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36879508/

相关文章:

Android AlertDialog 构造函数未定义

c - Makefile 忽略 @ 以静默输出

Makefile 字符串比较#ifeq

c++ - 使用 vpaths 时需要两次 "make"

linux - 构建 googletest 失败 ../allocators.h : No such file or directory (but it's present in/usr/local/include/)

linux - 在 x86 ubuntu 上为 ARM 交叉编译 linux 内核模块

android - 如何在 Android Webview 上播放 rtsp 视频?

android - 如何制作 ViewPager 循环?

java - android中Context的基本解释

java - 仅 Switch.setChecked 在显示 fragment 时不起作用?