aboutsummaryrefslogtreecommitdiffstats
path: root/tools/meson/src/openwrt-cross.txt.in
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-06-17 14:21:44 -0700
committerPaul Spooren <mail@aparcar.org>2021-09-16 16:31:28 -1000
commitc4dfdde2eaa399025de1032bed8ee8a5f8babb24 (patch)
tree246f3da0c888fb1a60b1c999b50dee1b454f3829 /tools/meson/src/openwrt-cross.txt.in
parent4b898afdd2fd9dbbc99dbedca0d50785e3ec063d (diff)
downloadupstream-c4dfdde2eaa399025de1032bed8ee8a5f8babb24.tar.gz
upstream-c4dfdde2eaa399025de1032bed8ee8a5f8babb24.tar.bz2
upstream-c4dfdde2eaa399025de1032bed8ee8a5f8babb24.zip
tools: add meson
meson is a next generation build system designed to have good defaults, simpler build files, and fast compilation. It is built upon python and uses ninja for compilation. The latter provides fast by default (parallel) and problem free compilation. There are over 40 packages already successfully using meson. The next commit will convert pkgconf to use meson compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/meson/src/openwrt-cross.txt.in')
-rw-r--r--tools/meson/src/openwrt-cross.txt.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/meson/src/openwrt-cross.txt.in b/tools/meson/src/openwrt-cross.txt.in
new file mode 100644
index 0000000000..30b4c116c4
--- /dev/null
+++ b/tools/meson/src/openwrt-cross.txt.in
@@ -0,0 +1,23 @@
+[binaries]
+c = [@CC@]
+cpp = [@CXX@]
+ar = '@AR@'
+strip = '@STRIP@'
+nm = '@NM@'
+pkgconfig = '@PKGCONFIG@'
+
+[built-in options]
+c_args = [@CFLAGS@]
+c_link_args = [@LDFLAGS@]
+cpp_args = [@CXXFLAGS@]
+cpp_link_args = [@LDFLAGS@]
+prefix = '/usr'
+
+[host_machine]
+system = 'linux'
+cpu_family = '@ARCH@'
+cpu = '@CPU@'
+endian = '@ENDIAN@'
+
+[properties]
+needs_exe_wrapper = true