aboutsummaryrefslogtreecommitdiff
path: root/conanfile.py
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2023-10-10 16:04:40 +0200
committerFelix Morgner <felix.morgner@ost.ch>2023-10-10 16:04:40 +0200
commit649eb315d2b629166263e5655609518fc8da528f (patch)
tree7fcb3e878b4a87a795d2dede166e778f61946422 /conanfile.py
parent88a2b78266a99ed88c7665f30528c2ce1f1bb679 (diff)
downloadteachos-649eb315d2b629166263e5655609518fc8da528f.tar.xz
teachos-649eb315d2b629166263e5655609518fc8da528f.zip
build: automatically build an ISO image on x86_64
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/conanfile.py b/conanfile.py
index 83040b7..84d6e77 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -24,7 +24,10 @@ class KernelConan(ConanFile):
def build(self):
cmake = CMake(self)
cmake.configure()
- cmake.build()
+ if self.settings.arch == "x86_64":
+ cmake.build(target="bootable-iso")
+ else:
+ cmake.build()
def generate(self):
build_environment = VirtualBuildEnv(self)