I.MX6 build.prop

简介: /************************************************************************ * I.MX6 build.prop * 说明: * 之前由于修改了build.prop,但每次重新编译系统之后就无效了,所以需要 * 在Android源码里修改。
/************************************************************************
 *                          I.MX6 build.prop 
 * 说明:
 *     之前由于修改了build.prop,但每次重新编译系统之后就无效了,所以需要
 * 在Android源码里修改。
 *
 *                                     2016-3-29 深圳 南山平山村 曾剑锋
 ***********************************************************************/

一、参考文档:
    Android属性之build.prop生成过程分析
        http://www.cnblogs.com/myitm/archive/2011/12/01/2271032.html
        
二、build.prop的生成是由make系统解析build/core/Makefile完成。
    1. Makefile中首先定义各种变量,这在下一步执行时会用到;
    2. Makefile中调用build/tools/buildinfo.sh执行脚本,并输出到build.prop;
    3. Makefile中直接把$(TARGET_DEVICE_DIR)/system.prop的内容追加到build.prop中;
    4. 收集ADDITIONAL_BUILD_PROPERTIES中的属性,追加到build.prop中。

三、添加system.prop:
    cat device/fsl/sabresd_6dq/system.prop
        qemu.hw.mainkeys=0
        debug.sf.nobootanimation=0

四、cat /system/build.prop
    ......
    ro.build.characteristics=tablet
    # end build properties
    qemu.hw.mainkeys=0
    debug.sf.nobootanimation=0
    
    #
    # ADDITIONAL_BUILD_PROPERTIES
    #
    ro.carrier=unknown
    ......
    
 

 

目录
打赏
0
0
0
0
12
分享
相关文章
CMake Error: The source “xxx“ does not match the source “yyy“ used to generate cache. Re-run cmake
CMake Error: The source “xxx“ does not match the source “yyy“ used to generate cache. Re-run cmake
1104 0
Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo
Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo
138 0
|
10月前
|
No tag [else] defined in tag library imported with prefix [c]] with root cause
No tag [else] defined in tag library imported with prefix [c]] with root cause 错误处理
66 0
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
161 0
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
294 0
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
解决报错之 - error Identifier ‘attr_id‘ is not in camel case camelcase
解决报错之 - error Identifier ‘attr_id‘ is not in camel case camelcase
464 0
解决报错之 - error Identifier ‘attr_id‘ is not in camel case camelcase
undefined reference to `vtable for XXX‘
undefined reference to `vtable for XXX‘
196 0
对‘avformat_find_stream_info’未定义的引用、to the PKG_CONFIG_PATH environment variable
对‘avformat_find_stream_info’未定义的引用、to the PKG_CONFIG_PATH environment variable
104 0
src refspec xxx does not match any
src refspec xxx does not match any
112 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等