summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-10-24 14:50:52 +0200
committerFelix Morgner <felix.morgner@ost.ch>2025-10-24 14:50:52 +0200
commit552a0482af54cd856f14c8fa138fff63d4e0b926 (patch)
tree98a8961e8a765bff86d9798d80aa574189859fef /Makefile
parent94d007b7bda07f0aa97ed5ae5e1b64bb8d6576f0 (diff)
downloadteachos-toolchain-552a0482af54cd856f14c8fa138fff63d4e0b926.tar.xz
teachos-toolchain-552a0482af54cd856f14c8fa138fff63d4e0b926.zip
toolchain: switch to semi-static toolchain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7531848..5ca38cf 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,22 @@ BINUTILS_VERSION ?= 2.44
GCC_VERSION ?= 15.1.0
GDB_VERSION ?= 16.3
NEWLIB_VERSION ?= 4.5.0.20241231
+
+ZLIB_VERSION ?= 1.3.1
+NCURSES_VERSION ?= 6.4
+EXPAT_VERSION ?= 2.6.2
+READLINE_VERSION ?= 8.2
+GMP_VERSION ?= 6.2.1
+MPFR_VERSION ?= 4.1.0
+MPC_VERSION ?= 1.2.1
+
TARGET ?= x86_64-pc-elf
PLATFORM ?= x86-64
-IMAGE_BUILD ?= 4
+IMAGE_BUILD ?= 5
all:
- podman pull docker.io/archlinux:latest
+ podman pull docker.io/ubuntu:latest
podman build \
--volume $(mkfile_dir)downloads:/downloads \
--build-arg BINUTILS_VERSION=$(BINUTILS_VERSION) \
@@ -18,5 +27,12 @@ all:
--build-arg GDB_VERSION=$(GDB_VERSION) \
--build-arg NEWLIB_VERSION=$(NEWLIB_VERSION) \
--build-arg TARGET=$(TARGET) \
+ --build-arg ZLIB_VERSION=$(ZLIB_VERSION) \
+ --build-arg NCURSES_VERSION=$(NCURSES_VERSION) \
+ --build-arg EXPAT_VERSION=$(EXPAT_VERSION) \
+ --build-arg READLINE_VERSION=$(READLINE_VERSION) \
+ --build-arg GMP_VERSION=$(GMP_VERSION) \
+ --build-arg MPFR_VERSION=$(MPFR_VERSION) \
+ --build-arg MPC_VERSION=$(MPC_VERSION) \
--tag registry.gitlab.ost.ch:45023/teachos/devcontainers/$(PLATFORM):$(GCC_VERSION)-$(IMAGE_BUILD) \
.