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 908 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

        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"
        
        LuksusL 1 Reply Last reply Reply Quote 0
        • LuksusL Offline
          Luksus @arcaege
          last edited by

          @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 Reply Quote 0
          • A Offline
            arcaege @Luksus
            last edited by arcaege

            @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 Reply Quote 0
            • A Offline
              arcaege @arcaege
              last edited by

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

              LuksusL 1 Reply Last reply Reply Quote 1
              • LuksusL Offline
                Luksus @arcaege
                last edited by

                @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 Reply Quote 0
                • A Offline
                  arcaege @Luksus
                  last edited by arcaege

                  @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

                  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