Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    V536H怎么单独编译模块

    Linux
    2
    6
    235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jinxiangwzh
      jinxiangwzh LV 6 last edited by

      我在lichee/linux-4.9目录下执行

      $ make modules
      HOSTCC  scripts/basic/fixdep
        HOSTCC  scripts/kconfig/conf.o
        HOSTCC  scripts/kconfig/zconf.tab.o
        HOSTLD  scripts/kconfig/conf
      scripts/kconfig/conf  --silentoldconfig Kconfig
      *
      * Restart config...
      *
      *
      * Linux/x86 4.9.118 Kernel Configuration
      *
      64-bit kernel (64BIT) [Y/n/?] (NEW)
      

      在top目录下全编就没问题,单独编译总是 Restart config...
      请问怎么解决?

      1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        楼主您看下pdf编译介绍文档,
        在上级目录里面先执行 source build/envsetup.sh,然后执行 lunch,再 make 及 pack。

        jinxiangwzh 1 Reply Last reply Reply Quote Share 0
        • jinxiangwzh
          jinxiangwzh LV 6 @whycan last edited by

          @whycan 有执行你说的这几步

          W 1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 9 @jinxiangwzh last edited by

            @jinxiangwzh
            那直接用 mkernel 编译 内核就可以了,您那个操作方法导致make 只用了默认的环境变量。

            jinxiangwzh 1 Reply Last reply Reply Quote Share 0
            • jinxiangwzh
              jinxiangwzh LV 6 @whycan last edited by

              @whycan 每次都需要编译整个内核 影响开发效率😧

              W 1 Reply Last reply Reply Quote Share 0
              • W
                whycan晕哥 LV 9 @jinxiangwzh last edited by

                @jinxiangwzh
                也不会慢太多,不知道有没有单独make modules的指令,找一找或许有。

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策