Commit Graph

631 Commits

Author SHA1 Message Date
bjorn3
dc4e3d2c96 Fallback to generic config when arch specific config doesn't exist
Most configs are entirely identical between architectures, so this
fallback reduces the amount of config files by a lot.
2026-03-03 20:45:50 +01:00
bjorn3
04d08f5aef Slightly deduplicate PREFIX_USE_UPSTREAM_RUST_COMPILER 2026-03-01 17:46:23 +01:00
bjorn3
945e5cc689 Deduplicate prefix tarball creation using implicit rules 2026-03-01 17:46:23 +01:00
bjorn3
2fb09fc153 Use order-only prerequisite on the container for compiler toolchain unpacking
There is no need to unpack the compiler toolchains again when the
container image gets updated.
2026-03-01 17:46:23 +01:00
bjorn3
6d623c5b18 Use static pattern rules to deduplicate tarball extraction 2026-03-01 17:46:23 +01:00
bjorn3
d7822583b0 Deduplicate prefix download logic using pattern rules 2026-03-01 17:46:23 +01:00
Jeremy Soller
6acf29f632 Merge branch 'qemu_defaults' into 'master'
Some improvements to qemu.mk

See merge request redox-os/redox!1962
2026-03-01 09:21:20 -07:00
bjorn3
3641dc7698 Use qemu-xhci for usb on x86_64 to match arm64 and riscv64 2026-03-01 17:04:39 +01:00
bjorn3
18c22db8ce Remove dedicated qemu_raspi target
Regular qemu already handles everything necessary if BOARD=raspi3bp is set.
2026-03-01 16:58:58 +01:00
bjorn3
0a09e5af47 Remove qemu_extra and qemu_extra_nvme make targets
The extra disk is unconditionally attached by the regular disk logic.
2026-03-01 16:56:05 +01:00
bjorn3
25ed25340b Remove obsolete env var usage
From what I can find on the internet, SDL nowadays doesn't enable this
option by default anymore anyway.
2026-03-01 16:53:23 +01:00
bjorn3
94c995e38d Use nvme by default outside of 32bit x86 and raspi
Most modern systems use nvme as disk. 32bit x86 is a legacy system where
ata is likely still used. Raspberry PI uses the sdcard.
2026-03-01 16:53:23 +01:00
Jeremy Soller
f9dd1ffced Merge branch 'per-target-clean' into 'master'
Implement per target clean

See merge request redox-os/redox!1961
2026-03-01 08:22:07 -07:00
Wildan M
f7dd557c09
Implement per target clean 2026-03-01 17:13:14 +07:00
Jeremy Soller
bad04a1a5f Merge branch 'x86-toolchain-in-arm' into 'master'
Update PREFIX_BINARY filter to allow x86_64 toolchain on ARM linux

See merge request redox-os/redox!1957
2026-02-28 20:14:43 -07:00
Jeremy Soller
9677392039 Merge branch 'proper-clean' into 'master'
Remove downloads in prefix_clean, remove repo tag in only in static_clean

See merge request redox-os/redox!1956
2026-02-28 20:13:54 -07:00
Wildan M
8183497cbe
Update PREFIX_BINARY filter to allow x86_64 toolchain on ARM linux 2026-03-01 03:35:26 +07:00
Wildan M
d232299105
Remove downloads in prefix_clean, remove repo tag in only in static_clean 2026-03-01 03:29:48 +07:00
Ojus Chugh
4ed0a556ae respect REPO_OFFLINE when building the cookbook tool
REPO_OFFLINE=1 was already passing --offline to recipe cargo builds
but the cargo build for the repo binary itself was still hitting
crates.io. This fixes that and adds a cargo-fetch target to
pre-populate the cache while online.
2026-02-28 16:28:50 +05:30
Jeremy Soller
efd405ea72 Re-add rustinstall script with comment saying why it is required 2026-02-26 08:45:56 -07:00
Wildan M
48338847f1
Fix review 2026-02-26 20:20:07 +07:00
Wildan M
b336b52f15
Build prefix on Redox OS, add self hosted mode 2026-02-26 19:03:07 +07:00
Jeremy Soller
4dc14f3f4a podman: set pid limit to unlimited to try to fix llvm build in CI 2026-02-25 08:36:10 -07:00
Wildan M
f3748bf466
Fix rust compilation, add rustdoc tool 2026-02-24 05:48:47 +07:00
Jeremy Soller
db23492523 Merge branch 'update-ci' into 'master'
Update CI test missing rustinstall

See merge request redox-os/redox!1920
2026-02-23 18:55:25 -07:00
Wildan M
8f24edf202
Workaround gcc unable to rebuild 2026-02-24 03:24:43 +07:00
Wildan M
9298d278a8
Fix podman rebuilding again 2026-02-23 20:38:16 +07:00
Jeremy Soller
0dc0421238 Merge branch 'clang-comp' into 'master'
Adapt clang compiler from redoxer

See merge request redox-os/redox!1935
2026-02-22 17:18:13 -07:00
Wildan M
45b28851e3
Adapt clang compiler from redoxer 2026-02-23 04:40:59 +07:00
Wildan M
dcc12a361a
Enable hosted libstdc++ for i586 & riscv64gc with workaround 2026-02-22 14:30:57 +07:00
Jeremy Soller
9634477748 Fix prefix clang-install when using PREFIX_BINARY=1 2026-02-21 10:49:59 -07:00
Wildan M
2822d533ea
Add clang-install to relibc prefix and use them for llvm-config 2026-02-21 17:55:49 +07:00
Wildan M
e173c27fd1
Add clang to prefix toolchain 2026-02-19 07:29:07 +07:00
Jeremy Soller
6fefa33444 Cache podman steps and move rustinstall.sh into containerfile 2026-02-17 11:37:12 -07:00
Jeremy Soller
9844d544d0 Allow override of USE_SELINUX from env 2026-02-17 10:34:28 -07:00
Jeremy Soller
035457db63 Use PODMAN_RUN variable for container_shell, remove broken container_su 2026-02-17 10:31:48 -07:00
Jeremy Soller
8af1d3ae3c Do not allow environment override of internal podman variables 2026-02-17 10:27:27 -07:00
Jeremy Soller
b6d441b536 Fix static_clean 2026-02-17 10:16:17 -07:00
Wildan M
5b699a4b5c
Export FIND 2026-02-12 15:00:16 +07:00
Wildan M
cf8a4de59b
Add notes for developing rust std 2026-02-12 12:40:02 +07:00
Wildan M
83a7659262
Workaround support for rust-lld 2026-02-12 12:17:06 +07:00
Wildan M
4ce24cee73
Few changes on relibc 2026-02-11 23:44:55 +07:00
Wildan M
d7f6a2673c
Trees doesn't need prefix 2026-02-11 23:44:55 +07:00
Wildan M
bc35359620
Fix gcc-install at prefix 2026-02-11 23:44:55 +07:00
Wildan M
ef40c7e3e0
Adapt libtool, skip building it 2026-02-11 23:44:55 +07:00
Wildan M
8590ec042a
Boostrap rust from cookbook 2026-02-11 23:44:55 +07:00
Jeremy Soller
583d315fdf Merge branch 'virtio-sdl' into 'master'
Add QEMU virtio with SDL backend

See merge request redox-os/redox!1882
2026-02-08 07:37:07 -07:00
Wildan M
9a3c35f0b2
Add QEMU virtio with SDL backend 2026-02-08 15:45:08 +07:00
Wildan M
448da392ac
Accurate push with deps, separate tree command 2026-02-08 12:49:34 +07:00
Wildan M
59bf03630f
Use GCC static libs, remove them from podman 2026-02-08 08:49:12 +07:00