【问题标题】:make snod didn't work, with waring like this:No rule to make target 'out/target/product/generic/root/file_contexts', needed by 'snod'make snod 不起作用,警告如下:No rule to make target 'out/target/product/generic/root/file_contexts', required by 'snod'
【发布时间】:2015-03-11 15:00:39
【问题描述】:

每次我输入make snod,都会发生这种情况: make: *** No rule to make target 'out/target/product/generic/root/file_contexts', needed by 'snod'. Stop.

事实上,我在/out/target/product/generic 中根本没有一个名为root 的目录。我错过了什么吗?

【问题讨论】:

    标签: android gnu-make android-source


    【解决方案1】:

    make snod 用于从当前软件二进制文件构建系统映像。当您更改 android 源代码中的某些库并且不想重建整个系统时使用它,然后您在该库中构建增量更改(使用mm)并执行make snod 以将这些更改包含在系统映像中。

    也许您不是第一次构建 android 映像? 您还需要在 shell 中获取
    (source build/envsetup.sh) 脚本和 lunch 构建配置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-10
      • 2021-11-22
      • 1970-01-01
      • 2019-09-15
      相关资源
      最近更新 更多