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

No rule to make target 'halium.config'.

Scheduled Pinned Locked Moved Porting
6 Posts 2 Posters 424 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.
    • A Offline
      arcaege
      last edited by 1 Jan 2025, 20:42

      I've already opened an issue for this (https://gitlab.com/ubports/porting/community-ports/halium-generic-adaptation-build-tools/-/issues/12) but I've been staring at this issue for a few hours.

      I am trying to port to samsung-a5xelte using the standalone kernel method detailed in the guide. I have followed every step correctly to my knowledge, however I'm getting the error No rule to make target 'halium.config'. The file is present under arch/arm64/configs.

      Link to kernel repo: https://github.com/ArcaEge/android_kernel_samsung_universal7580/tree/lineage-17.1

      My deviceinfo:

      deviceinfo_name="Samsung Galaxy A5 (2016)"
      deviceinfo_manufacturer="Samsung"
      deviceinfo_codename="samsung-a5xelte"
      deviceinfo_arch="aarch64"
      deviceinfo_kernel_source="https://github.com/ArcaEge/android_kernel_samsung_universal7580"
      deviceinfo_kernel_source_branch="lineage-17.1"
      deviceinfo_kernel_defconfig="lineageos_a5xelte_defconfig halium.config"
      deviceinfo_kernel_cmdline="console=tty0"
      deviceinfo_kernel_clang_compile="true"
      deviceinfo_kernel_image_name="Image.gz"
      deviceinfo_halium_version="10"
      deviceinfo_bootimg_header_version="0"
      deviceinfo_bootimg_prebuilt_dt="dt_teamwin.img"
      deviceinfo_bootimg_tailtype="SEAndroid"
      deviceinfo_use_overlaystore="true"
      deviceinfo_flash_pagesize="2048"
      deviceinfo_flash_offset_base="0x00000000"
      deviceinfo_flash_offset_kernel="0x10008000"
      deviceinfo_flash_offset_ramdisk="0x11000000"
      deviceinfo_flash_offset_second="0x10f00000"
      deviceinfo_flash_offset_tags="0x10000100"
      deviceinfo_bootimg_os_version="10.0.0"
      deviceinfo_bootimg_os_patch_level="2022-01"
      
      L 1 Reply Last reply 6 Jan 2025, 13:49 Reply Quote 0
      • L Offline
        Luksus @arcaege
        last edited by 6 Jan 2025, 13:49

        @arcaege it is uncommon to name a defconfig file with an extension *.config.
        Maybe try to rename it to "halium_defconfig" or whatever.

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

        A 1 Reply Last reply 7 Jan 2025, 17:11 Reply Quote 0
        • A Offline
          arcaege @Luksus
          last edited by arcaege 1 Jul 2025, 17:12 7 Jan 2025, 17:11

          @Luksus I did what the guide says I should do:

          Start by browsing into your kernel directory, and into the arch/<your device's architecture>/configs, where you will have to add a new file called halium.config. In this file, add the following content:
          CONFIG_DEVTMPFS=y
          CONFIG_FHANDLE=y
          CONFIG_SYSVIPC=y
          CONFIG_IPC_NS=y
          CONFIG_NET_NS=y
          CONFIG_PID_NS=y
          CONFIG_USER_NS=y
          CONFIG_UTS_NS=y
          CONFIG_VT=y

          Anyway, I'll try your suggestion as well.

          A 1 Reply Last reply 7 Jan 2025, 17:32 Reply Quote 0
          • A Offline
            arcaege @arcaege
            last edited by 7 Jan 2025, 17:32

            Alright, this seems to have fixed it but I think it's also worth updating the guide.

            L 1 Reply Last reply 8 Jan 2025, 06:53 Reply Quote 1
            • L Offline
              Luksus @arcaege
              last edited by 8 Jan 2025, 06:53

              @arcaege sure, can you please post a link here to that point in the guide?

              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

              A 1 Reply Last reply 8 Jan 2025, 18:04 Reply Quote 0
              • A Offline
                arcaege @Luksus
                last edited by arcaege 1 Aug 2025, 18:07 8 Jan 2025, 18:04

                @Luksus Here's the link https://docs.ubports.com/en/latest/porting/build_and_boot/standalone_kernel_build.html#applying-minimal-patches-to-your-defconfig

                1 Reply Last reply Reply Quote 0
                2 out of 6
                • First post
                  2/6
                  Last post