summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-11-22 20:35:27 -0500
committerAlexander Hill <ahill@breadpudding.dev>2025-11-22 20:35:27 -0500
commitbca382ed7149fac158403a5fb4e64c79f7e5cc6e (patch)
tree3e1f30bd1632c97d7aaa23e8b1701da8a68d6d15 /sources
parent320a2dbb2eba45ea57681c8cfb3d5dc245748c45 (diff)
Updated treetap, fixed the bootstrap, and replaced ld.lld with mold
Diffstat (limited to 'sources')
-rwxr-xr-xsources/busybox/busybox.spec2
-rw-r--r--sources/libressl/libressl.spec16
-rwxr-xr-xsources/llvm/llvm.spec6
-rw-r--r--sources/make/make.spec16
-rw-r--r--sources/mold/mold.spec24
-rwxr-xr-xsources/musl/musl.spec8
6 files changed, 33 insertions, 39 deletions
diff --git a/sources/busybox/busybox.spec b/sources/busybox/busybox.spec
index be3c2b8..1c52d8a 100755
--- a/sources/busybox/busybox.spec
+++ b/sources/busybox/busybox.spec
@@ -10,6 +10,7 @@ SRC_VERSION="1.36.1"
build() {
tar xf ../$SRC_FILENAME
cd busybox-*/
+ cp ../.config .
# NOTE: Like we did with musl before, we don't set CROSS_COMPILE because
# LLVM is smart and doesn't need a compiler to cross-compile code.
# With that said, Busybox uses Kbuild, which hard-codes variables like
@@ -31,6 +32,7 @@ clean() {
}
package() {
+ cd busybox-*/
# NOTE: Busybox doesn't have a proper DESTDIR, so we just set CONFIG_PREFIX
# during the install to work around this limitation. ~ahill
make -O -j $TT_PROCS install CONFIG_PREFIX=$TT_INSTALLDIR
diff --git a/sources/libressl/libressl.spec b/sources/libressl/libressl.spec
index 790ce1b..744eaaf 100644
--- a/sources/libressl/libressl.spec
+++ b/sources/libressl/libressl.spec
@@ -9,21 +9,7 @@ build() {
cd libressl-*/
# TODO: What even is sharedstatedir and what should Maple Linux do with it?
# ~ahill
- ./configure \
- --bindir=$TT_BINDIR \
- --build=$TT_BUILD \
- --datarootdir=/usr/share \
- --disable-static \
- --host=$TT_TARGET \
- --includedir=$TT_INCLUDEDIR \
- --libdir=$TT_LIBDIR \
- --libexecdir=$TT_LIBDIR \
- --localstatedir=/var \
- --prefix=$TT_PREFIX \
- --runstatedir=/run \
- --sbindir=$TT_BINDIR \
- --sysconfdir=$TT_CONFDIR \
- --with-sysroot=$TT_SYSROOT
+ ./configure $TT_AUTOCONF_COMMON --disable-static
make -j $TT_PROCS
}
diff --git a/sources/llvm/llvm.spec b/sources/llvm/llvm.spec
index 53080cb..a2ca350 100755
--- a/sources/llvm/llvm.spec
+++ b/sources/llvm/llvm.spec
@@ -1,5 +1,5 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
-SRC_HASH="1794be4bf974e99a3fe1da4b2b9b1456c02ae9479c942f365441d8d207bd650c"
+SRC_HASH="ae67086eb04bed7ca11ab880349b5f1ab6f50e1b88cda376eaf8a845b935762b"
SRC_NAME="llvm"
-SRC_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.5/llvm-project-21.1.5.src.tar.xz"
-SRC_VERSION="21.1.5"
+SRC_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.6/llvm-project-21.1.6.src.tar.xz"
+SRC_VERSION="21.1.6" \ No newline at end of file
diff --git a/sources/make/make.spec b/sources/make/make.spec
index 99a0d08..0b6f226 100644
--- a/sources/make/make.spec
+++ b/sources/make/make.spec
@@ -7,20 +7,7 @@ SRC_VERSION="4.4.1"
build() {
tar xf ../$SRC_FILENAME
cd make-*/
- ./configure \
- --bindir=$TT_BINDIR \
- --build=$TT_BUILD \
- --datarootdir=/usr/share \
- --enable-year2038 \
- --host=$TT_TARGET \
- --includedir=$TT_INCLUDEDIR \
- --libdir=$TT_LIBDIR \
- --libexecdir=$TT_LIBDIR \
- --localstatedir=/var \
- --prefix=$TT_PREFIX \
- --runstatedir=/run \
- --sbindir=$TT_BINDIR \
- --sysconfdir=$TT_CONFDIR
+ ./configure $TT_AUTOCONF_COMMON --enable-year2038
make -O -j $TT_PROCS
}
@@ -29,5 +16,6 @@ clean() {
}
package() {
+ cd make-*/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
} \ No newline at end of file
diff --git a/sources/mold/mold.spec b/sources/mold/mold.spec
new file mode 100644
index 0000000..3db1764
--- /dev/null
+++ b/sources/mold/mold.spec
@@ -0,0 +1,24 @@
+# Maintainer: Alexander Hill <ahill@breadpudding.dev>
+SRC_FILENAME="mold-2.40.4.tar.gz"
+SRC_HASH="69414c702ec1084e1fa8ca16da24f167f549e5e11e9ecd5d70a8dcda6f08c249"
+SRC_NAME="mold"
+SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
+SRC_VERSION="2.40.4"
+
+build() {
+ echo "DEBUG: $TT_CMAKE_COMMON"
+ tar xf ../$SRC_FILENAME
+ cd mold-*/
+ cmake -B build $TT_CMAKE_COMMON
+ cmake --build build --parallel $TT_PROCS
+}
+
+clean() {
+ rm -rf mold-*/
+}
+
+package() {
+ cd mold-*/
+ cmake --install build --parallel $TT_PROCS
+ ln -sf mold $TT_INSTALLDIR/bin/ld
+} \ No newline at end of file
diff --git a/sources/musl/musl.spec b/sources/musl/musl.spec
index 8527fd4..7a3580d 100755
--- a/sources/musl/musl.spec
+++ b/sources/musl/musl.spec
@@ -15,13 +15,7 @@ build() {
# https://www.openwall.com/lists/musl/2025/02/13/1/1
# https://www.openwall.com/lists/musl/2025/02/13/1/2
patch -p1 < ../CVE-2025-26519.patch
- ./configure \
- --bindir=$TT_BINDIR \
- --build=$TT_BUILD \
- --includedir=$TT_INCLUDEDIR \
- --libdir=$TT_LIBDIR \
- --prefix=$TT_PREFIX \
- --target=$TT_TARGET
+ ./configure $TT_AUTOCONF_COMMON
make -O -j $TT_PROCS
}