summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-23 11:11:57 +0200
committerFelix Morgner <felix.morgner@ost.ch>2025-07-23 11:11:57 +0200
commit4807c388be1c16fec1b9cc3115beb5c4c8f9282f (patch)
tree68f40d587fe92556f34dc8365793ac463dad257b /Makefile
parent0c19acb575193ab7506d63aca338fc4b90e45605 (diff)
downloadteachos-toolchain-4807c388be1c16fec1b9cc3115beb5c4c8f9282f.tar.xz
teachos-toolchain-4807c388be1c16fec1b9cc3115beb5c4c8f9282f.zip
x86_64: optimize code generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab4095c..d2bffed 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ NEWLIB_VERSION ?= 4.5.0.20241231
TARGET ?= x86_64-pc-elf
PLATFORM ?= x86-64
+IMAGE_BUILD ?= 2
+
all:
podman pull docker.io/archlinux:latest
podman build \
@@ -16,5 +18,5 @@ all:
--build-arg GDB_VERSION=$(GDB_VERSION) \
--build-arg NEWLIB_VERSION=$(NEWLIB_VERSION) \
--build-arg TARGET=$(TARGET) \
- --tag registry.gitlab.ost.ch:45023/teachos/devcontainers/$(PLATFORM):$(GCC_VERSION) \
+ --tag registry.gitlab.ost.ch:45023/teachos/devcontainers/$(PLATFORM):$(GCC_VERSION)-$(IMAGE_BUILD) \
.