summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cross-macos-arm64.cbc4
-rw-r--r--config/cross-macos-universal.cbc10
-rw-r--r--config/cross-macos-x86_64.cbc4
3 files changed, 18 insertions, 0 deletions
diff --git a/config/cross-macos-arm64.cbc b/config/cross-macos-arm64.cbc
new file mode 100644
index 00000000..4fbb3bb2
--- /dev/null
+++ b/config/cross-macos-arm64.cbc
@@ -0,0 +1,4 @@
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform = Platform.DARWIN
+target_arch = Architecture.ARM64 \ No newline at end of file
diff --git a/config/cross-macos-universal.cbc b/config/cross-macos-universal.cbc
new file mode 100644
index 00000000..23b205e7
--- /dev/null
+++ b/config/cross-macos-universal.cbc
@@ -0,0 +1,10 @@
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform = Platform.DARWIN
+target_arch = Architecture.UNIVERSAL
+
+universal_archs = {
+ # Path is relative to this file
+ Architecture.ARM64: "cross-macos-arm64.cbc",
+ Architecture.X86_64: "cross-macos-x86_64.cbc",
+} \ No newline at end of file
diff --git a/config/cross-macos-x86_64.cbc b/config/cross-macos-x86_64.cbc
new file mode 100644
index 00000000..98cbf908
--- /dev/null
+++ b/config/cross-macos-x86_64.cbc
@@ -0,0 +1,4 @@
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform = Platform.DARWIN
+target_arch = Architecture.X86_64 \ No newline at end of file