graph support

This commit is contained in:
Lance Vick 2023-12-15 12:32:54 -08:00
parent 1ee6a2f680
commit 63c3219e75
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 8 additions and 29 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
build.log build.log
graph.svg
*.tgz *.tgz

View File

@ -1,7 +1,7 @@
export REGISTRY := local export REGISTRY := local
export PLATFORM := linux/amd64 export PLATFORM := linux/amd64
export BUILDER := $(shell which docker) export BUILDER := $(shell which docker)
export SOURCE_DATE_EPOCH = 0 export SOURCE_DATE_EPOCH = 1
clean_logs := $(shell rm *.log 2>&1 >/dev/null || :) clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)
DEFAULT_GOAL := default DEFAULT_GOAL := default
@ -9,34 +9,12 @@ DEFAULT_GOAL := default
default: all default: all
.PHONY: all .PHONY: all
all: \ all: \
bootstrap.tgz \
gcc.tgz \
busybox.tgz \
binutils.tgz \
musl.tgz \
make.tgz \
bash.tgz \
zlib.tgz \
perl.tgz \
linux-headers.tgz \
openssl.tgz \
python.tgz \ python.tgz \
py-setuptools.tgz \ rust.tgz \
ca-certificates.tgz \ go.tgz
curl.tgz \
m4.tgz \ graph.svg: Makefile
autoconf.tgz \ $(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg
automake.tgz \
sed.tgz \
libtool.tgz \
libunwind.tgz \
ninja.tgz \
cmake.tgz \
libxml2 \
llvm13.tgz \
rust1.54.tgz \
llvm.tgz \
rust1.55.tgz
bootstrap.tgz: bootstrap.tgz:
$(call build,bootstrap) $(call build,bootstrap)
@ -338,7 +316,7 @@ rust1.72.tgz: rust1.71.tgz
rust1.73.tgz: rust1.72.tgz rust1.73.tgz: rust1.72.tgz
$(call build,rust,1.73.0,package,--build-arg BUILD_VERSION=1.72.0 --build-arg LLVM_VERSION=16) $(call build,rust,1.73.0,package,--build-arg BUILD_VERSION=1.72.0 --build-arg LLVM_VERSION=16)
rust1.74.tgz: rust1.73.tgz rust.tgz: rust1.73.tgz
$(call build,rust,1.74.0,package,--build-arg BUILD_VERSION=1.73.0 --build-arg LLVM_VERSION=16) $(call build,rust,1.74.0,package,--build-arg BUILD_VERSION=1.73.0 --build-arg LLVM_VERSION=16)
# Build package with chosen $(BUILDER) # Build package with chosen $(BUILDER)