Skip to content

Commit 12d9fbd

Browse files
committed
refactor: improve Makefile reliability
- Use .unpacked stamp files for source dependencies instead of directories to prevent unnecessary rebuilds when builds modify source trees - Hardcode checksums in Makefile instead of downloading from same server as tarballs - Use Docker for all Linux builds (both on macOS and Linux) for reproducibility - Fix gawk/grep lipo race condition by depending on directory targets with recipes - Fix toybox parallel build race by clearing MAKEFLAGS before sub-make - Fix clean_dist to fully remove directory instead of just contents - Add component/platform validity matrix to prevent invalid target generation - Simplify UNIVERSAL_DARWIN_COMPONENTS to use COMMON_COMPONENTS directly - Add docker_platform helper for consistent Docker platform naming - Update README with Docker requirements and OrbStack as alternative - Disable busybox CONFIG_TC and SHA hardware acceleration on aarch64 - Add macOS SDK 26.2 - Bump versions
1 parent 3677205 commit 12d9fbd

3 files changed

Lines changed: 289 additions & 301 deletions

File tree

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM alpine:3.23.2
2+
RUN apk update && apk add \
3+
alpine-sdk autoconf automake bash binutils bison build-base \
4+
file flex gawk gcc gcompat gettext-tiny git grep help2man \
5+
indent m4 libbz2 libgcc libtool linux-headers ncurses \
6+
ncurses-dev openssl-dev python3 wget xz zlib-dev zlib-static

0 commit comments

Comments
 (0)