Skip to content

Abstract away build architecture #1

@JElchison

Description

@JElchison

Right now, it assumes that it's building a 32-bit and 64-bit build, presumably on x86

It would be nice if build architecture were abstracted away, such that it could build any architecture

From Josh:

There seems to be a lot of copy pasta just for the two architectures supported in the makefile. It feels like there is or should be a way to easily abstract out 32 and 64 bit definitions and support all gcc architectures in case you hypothetically wish to target something other than x86. It would be easier to do so with arguments passed in from commandline (make ARCH=mips32), but that seems to be avoided. Now I am nerd-sniped if there is a clever way to do it perhaps with pattern rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions