UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How build kernal on macos

    Scheduled Pinned Locked Moved Porting
    2 Posts 2 Posters 439 Views 1 Watching
    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.
      • U Offline
        unger
        last edited by

        Hello.
        How will build right kernal?
        I did use flag -j64
        I have error

        created build_kernel.sh

        #!/bin/bash
        export ARCH=arm64
        export PLATFORM_VERSION=12
        export ANDROID_MAJOR_VERSION=s
        export CLANG_TRIPLE=aarch64-linux-gnu-
        export CROSS_COMPILE=aarch64-linux-android-
        
        
        make ARCH=arm64 CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-android- CONFIG_SECTION_MISMATCH_WARN_ONLY=y exynos9610-m31nsxx_defconfig
        make ARCH=arm64 CLANG_TRIPLE=aarch64-linux-gnu-CROSS_COMPILE=aarch64-linux-android- CONFIG_SECTION_MISMATCH_WARN_ONLY=y -j64
        
        V 1 Reply Last reply Reply Quote 0
        • V Offline
          VinceAle7082 @unger
          last edited by

          @unger Try -j number of threads + 2 (example -j 12, not -j12)
          Idk if this is the problem but try it, why not?

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post