summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2023-04-17 12:46:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2023-04-28 23:02:50 +0300
commitc47a9bf56024fc5443d6a1ae11790b796f6ea18a (patch)
tree871b08adb8f7f68cb6e348c6aab868273c028e6e /docs/markdown/snippets
parent566fefedc2d408e8b2ed1f754599cf1851f5a295 (diff)
downloadmeson-sysprops.tar.gz
Add kernel and userland properties to machine objects.sysprops
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/moremachinedata.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/snippets/moremachinedata.md b/docs/markdown/snippets/moremachinedata.md
new file mode 100644
index 000000000..27d9a7eb2
--- /dev/null
+++ b/docs/markdown/snippets/moremachinedata.md
@@ -0,0 +1,12 @@
+## Machine objects get `kernel` and `userland` properties
+
+Meson has traditionally provided a `system` property to detect the
+system being run on. However this is not enough to reliably
+differentiate between e.g. an iOS platform from a watchOS one. Two new
+properties, namely `kernel` and `userland` have been added to make
+this configuration doable.
+
+These new properties are not necessary in cross files for now, but if
+they are not defined and a build file tries to access them, Meson will
+exit with a hard error. It is expected that at some point in the
+future defining the new properties will become mandatory.