-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow cross compiling #17
Open
devnull42
wants to merge
8
commits into
RetroPie:master
Choose a base branch
from
devnull42:allow-cross-compiling
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Dec 29, 2020
-
The Makefile already calls gcc to link together mame, so use $(CC) instead of $(LD) for the final link step.
Configuration menu - View commit details
-
Copy full SHA for 50530c0 - Browse repository at this point
Copy the full SHA 50530c0View commit details -
build: move strip into its own step
Within the Makefile, mame is first linked together and then stripped. If the strip step fails, the end result is an unstripped mame binary. Running 'make' again will not try to re-strip it because a file named 'mame' now exists. Modify the final steps of the build process. Place the unstripped binary into $(OBJ), and the stripped binary into $(PWD) as before.
Configuration menu - View commit details
-
Copy full SHA for dc8bc9e - Browse repository at this point
Copy the full SHA dc8bc9eView commit details -
build: Support cross-compilation
So as to allow mame4all-pi to be built via cross-compilation, honor the environment variable CROSS_COMPILE as a prefix to build tools. Then to match autotools standards, rename the variable "CPP" to "CXX". All build tools' names can now be overridden by the calling environment.
Configuration menu - View commit details
-
Copy full SHA for 6ffa642 - Browse repository at this point
Copy the full SHA 6ffa642View commit details -
Attempt to detect if pkg-config is installed. If so, then use SDL's pc file for its CFLAGS and LIBS. Otherwise, default back to the hard-coded values that were previously within the Makefile.
Configuration menu - View commit details
-
Copy full SHA for 76f095d - Browse repository at this point
Copy the full SHA 76f095dView commit details -
build: use pkg-config for VCSM
If pkg-config is installed, use VideoCore Shared Memory (VCSM)'s pc file for its CFLAGS and LIBS. Otherwise, default back to the hard-coded values that were previously within the Makefile.
Configuration menu - View commit details
-
Copy full SHA for e60c022 - Browse repository at this point
Copy the full SHA e60c022View commit details -
If pkg-config is installed, use EGL's pc file for its CFLAGS and LIBS. Otherwise, default back to the hard-coded values that were previously within the Makefile.
Configuration menu - View commit details
-
Copy full SHA for 07db68d - Browse repository at this point
Copy the full SHA 07db68dView commit details -
build: use pkg-config for GLib-2.0
If pkg-config is installed, use glib-2.0's pc file for its CFLAGS and LIBS. Otherwise, default back to the hard-coded values that were previously within the Makefile.
Configuration menu - View commit details
-
Copy full SHA for 241463a - Browse repository at this point
Copy the full SHA 241463aView commit details -
build: use pkg-config for ALSA
If pkg-config is installed, use alsa's pc file for its CFLAGS and LIBS. Otherwise, default back to the hard-coded values that were previously within the Makefile.
Configuration menu - View commit details
-
Copy full SHA for 7a8c7b1 - Browse repository at this point
Copy the full SHA 7a8c7b1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.