aboutsummaryrefslogtreecommitdiff
path: root/devel/meson/meson.mk
Commit message (Collapse)AuthorAge
* meson: reconfigure on incremental buildsAndre Heider2021-03-17
| | | | | | | | | When toggling a package specific config knob, we need to pass --reconfigure to the meson setup command if an earlier build already exists. Fixes #15032. Signed-off-by: Andre Heider <a.heider@gmail.com>
* meson: fix host cpu settingAndre Heider2021-03-17
| | | | | | | | | CONFIG_TARGET_SUBTARGET is bogus for this, it can contain values such as 'nand' or 'tiny', use the real cpu type instead. Fixes #14662. Signed-off-by: Andre Heider <a.heider@gmail.com>
* meson: update to 0.56.0Rosen Penev2020-11-24
| | | | | | | | | | | Move c/c++ options from properties to built-in options as there is now a deprecated warning. Remove cross libdir value. It's default since version 0.50. Remove ld option as it was removed in version 0.51. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* meson: fix arch mappingRosen Penev2020-07-18
| | | | | | | | meson uses a different architecture mapping than CONFIG_ARCH does. Fix the problematic ones and fall back to CONFIG_ARCH. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* meson: allow compilation in a subdirectoryRosen Penev2020-04-18
| | | | | | Small tweak to get it to build. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* meson: fix building host binaries with ccacheAndre Heider2020-01-11
| | | | | | | | | | | | | | | With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a single wrapper script. Compiling target binaries with ccache works, but doesn't for host binaries, because we need to supply an argv array for argc > 1 in the meson cross file. Always pass an array for the c and c++ compiler, and while at it, do it for the target as well - just to be on the safe side if that ever changes. Fixes #10982. Signed-off-by: Andre Heider <a.heider@gmail.com>
* meson: add new packageAndre Heider2019-11-01
This adds a host as well as a target package. meson.mk is provided to build packages using meson. Signed-off-by: Andre Heider <a.heider@gmail.com>