Compile、Make和Build的区别

本文详细介绍了常见的编译命令,包括Compile、Make、Build等的区别与使用场景,如Make适用于改动量小的情况,Build则会全部重新编译并打包。

1.Compile:只编译选定的目标,不管之前是否编译过

2.Make:在上次编译基础上,继续编译,适合改动量小

3.Build:全部重新编译,并且打包

 

Make Project:编译所有的Module,一般是自上次编译后有更新的文件,不生成APK

Make Selected Modules:编译指定的Module,一般是自上次编译后Module下有更新的文件,不生成apk

Clean Project:删除原来编译的文件,并重新编译整个Project,不生成APK

Rebuild Project:跟Clean Project差不多

Build APK:生成APK

Generate Signed APK:生成有签名的apk

 

 

 

按照你的步骤操作后:wuyilun@ubuntu:~/Desktop/NVMP/NVMP/nvmp$ CFLAGS="-D_GNU_SOURCE" make ERROR: please fix package/tp_package/lte/Makefile - see logs/package/tp_package/lte/dump.txt for details ERROR: please fix package/tp_package/lib/libsdm/Makefile - see logs/package/tp_package/lib/libsdm/dump.txt for details Collecting package info: done AMS: buildams.config and ams.config updated from local nvmp_artifact make[1] world make[2] tools/install make[3] -C tools/m4 compile make[3] -C tools/m4 install make[3] -C tools/sed compile make[3] -C tools/sed install make[3] -C tools/autoconf compile make[3] -C tools/autoconf install make[3] -C tools/pkg-config compile make[3] -C tools/pkg-config install make[3] -C tools/xz compile make[3] -C tools/xz install make[3] -C tools/automake compile make[3] -C tools/automake install make[3] -C tools/missing-macros compile make[3] -C tools/missing-macros install make[3] -C tools/libtool compile make[3] -C tools/libtool install make[3] -C tools/flex compile make[3] -C tools/flex install make[3] -C tools/bison compile make[3] -C tools/bison install make[3] -C tools/mklibs compile make[3] -C tools/mklibs install make[3] -C tools/sstrip compile make[3] -C tools/sstrip install make[3] -C tools/ipkg-utils compile make[3] -C tools/ipkg-utils install make[3] -C tools/genext2fs compile make[3] -C tools/genext2fs install make[3] -C tools/e2fsprogs compile make[3] -C tools/e2fsprogs install make[3] -C tools/mtd-utils compile make -r world: build failed. Please re-run make with V=s to see what's going on make: *** [/home/wuyilun/Desktop/NVMP/NVMP/nvmp/include/toplevel.mk:279: world] Error 1
08-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值