Page MenuHomePhabricator

meson: enable cross compiling
ClosedPublic

Authored by bu5hm4n on Tue, Dec 4, 12:09 PM.

Details

Summary

the inital work for this commit was coming from Mark van der Putten.
In order to not have more options for this, the idea came up to use
mesons autodetection using PATH.

If a cross file is specified, the binaries are used from the system,
rather than from the intree. (Which means --cross-file has the
dependency of efl on the buildsystem)

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bu5hm4n created this revision.Tue, Dec 4, 12:09 PM
bu5hm4n requested review of this revision.Tue, Dec 4, 12:09 PM
stefan_schmidt added inline comments.Thu, Dec 6, 6:18 AM
data/elementary/objects/meson.build
37

I can't help but find this logic is different from the other ones. No checking on cross_build() and searching for the native program.
Is this happening somewhere else for elm_prefs_cc?

bu5hm4n updated this revision to Diff 17829.Fri, Dec 7, 12:33 AM
bu5hm4n edited the summary of this revision. (Show Details)

fixes

stefan_schmidt accepted this revision.Fri, Dec 7, 3:49 AM
This revision is now accepted and ready to land.Fri, Dec 7, 3:49 AM
bu5hm4n updated this revision to Diff 17844.Fri, Dec 7, 4:02 AM

added flags

Closed by commit rEFL79ded15ad3c0: meson: enable cross compiling (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>). · Explain WhyFri, Dec 7, 4:06 AM
This revision was automatically updated to reflect the committed changes.