• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 221 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 11 Mar 2024, 12:19

      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 31 Mar 2024, 20:51 Reply Quote 0
      • V Offline
        VinceAle7082 @unger
        last edited by 31 Mar 2024, 20:51

        @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
        • First post
          Last post