diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-13 15:43:47 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-13 15:43:47 +0200 |
| commit | 0d0dea1a8337595985c919d6329b01b38b0bd8d8 (patch) | |
| tree | 6af97adb3876103ab825769ed54999162a66316d /Makefile | |
| parent | 771a1fabce59ee3614a578c894c46fc56d6db0ac (diff) | |
| download | teachos-toolchain-0d0dea1a8337595985c919d6329b01b38b0bd8d8.tar.xz teachos-toolchain-0d0dea1a8337595985c919d6329b01b38b0bd8d8.zip | |
build: import jOS toolchain config
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7140cda --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) + +BINUTILS_VERSION ?= 2.44 +GCC_VERSION ?= 14.2.0 +GDB_VERSION ?= 16.2 +NEWLIB_VERSION ?= 4.5.0.20241231 +TARGET ?= x86_64-pc-elf + +all: + podman pull docker.io/archlinux:latest + podman build \ + --volume $(mkfile_dir)downloads:/downloads \ + --volume $(mkfile_dir)scripts:/scripts \ + --volume $(mkfile_dir)patches:/patches \ + --build-arg BINUTILS_VERSION=$(BINUTILS_VERSION) \ + --build-arg GCC_VERSION=$(GCC_VERSION) \ + --build-arg GDB_VERSION=$(GDB_VERSION) \ + --build-arg NEWLIB_VERSION=$(NEWLIB_VERSION) \ + --build-arg TARGET=$(TARGET) \ + --tag registry.gitlab.ost.ch:45023/teachos/devcontainers:$(GCC_VERSION) \ + .
\ No newline at end of file |
