RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Source building Retropie

    Scheduled Pinned Locked Moved Help and Support
    udooarmv7sourceconfigure flagsflags
    6 Posts 2 Posters 1.8k Views
    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.
    • V
      volc
      last edited by

      Hi! First some basic info;

      Pi Model or other hardware: Udoo Quad Armv7
      RetroPie Version (Script is v4.3)
      Built From: (Armbian without X. Based on 16.04 LTS)

      As you can read this is not at all supported. I'm aware. My question is, and first of halleluya to the awesome retropie_setup.sh script, how i can edit the configure flags given to a package to be build from source. After i gave --disable-xmb to retroarch configure the installation would finish. Now that i don't care about that theme i would like to be able to edit your script so that i can use it should i need to update.

      Is this at all possible? Many thanks in advance and keep up your awesome work!

      1 Reply Last reply Reply Quote 0
      • V
        volc
        last edited by

        I've noticed that the configure / make / build is all done immediately after source download. I noticed that i can run retropie_packages.sh with id of retroarch. This way i can download / install etc. Is there a way that i can give another configure flag?

        The usage shows configure but it's not clear to me how to use the configure flag on this script.

        Anyone? ;)

        *#
        retropie_packages.sh <Index # or ID>
        This will run the actions depends, sources, build, install, configure and clean automatically.

        Alternatively, retropie_packages.sh can be called as
        retropie_packages.sh <Index # or ID [depends|sources|build|install|configure|clean|remove]

        Definitions:
        depends: install the dependencies for the module
        sources: install the sources for the module
        build: build/compile the module
        install: install the compiled module
        configure: configure the installed module (es_systems.cfg / launch parameters etc)
        clean: remove the sources/build folder for the module
        help: get additional help on the module
        #*

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by mitu

          @volc configure is the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the ./configure step before running the compilation.

          If you want to control the compilation step better, then look in the scriptmodules/emulators/retroarch.sh and modify the build_retroarch function - see https://github.com/RetroPie/RetroPie-Setup/blob/da0460cddbee82359d3376770713e4592ffd56d7/scriptmodules/emulators/retroarch.sh#L41

          1 Reply Last reply Reply Quote 1
          • V
            volc
            last edited by

            @mitu said in Source building Retropie:

            @volc configure is the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the ./configure step before running the compilation.

            Precisesly what i was looking for, thanks!

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @volc
              last edited by

              @volc Note that if you modify the file locally, you might get a conflict when the RetroPie-Setup update script will run next time, since git --pull will detect a conflict. Just be wary of that.

              1 Reply Last reply Reply Quote 0
              • V
                volc
                last edited by

                I can always fork using Git. Thanks for the heads up!

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

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.