commit: 87601931b2fd00f0f8eb146579bea3e66c1d7c53
parent 82f2204f91851ef789843582b65392256a916711
Author: Paul Dersey <pdersey@gmail.com>
Date: Mon, 5 Jun 2023 10:48:46 -0400
Write simple-patch binary to ${bindir} and remove hard coded paths
Diffstat:
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/sysa/run.kaem b/sysa/run.kaem
@@ -15,7 +15,7 @@ M2-Mesoplanet --architecture ${ARCH} -f checksum-transcriber.c -o ${bindir}/chec
sha256sum -c checksum-transcriber.${ARCH}.SHA256SUM
# simple patch tool based on before and after chunks
-M2-Mesoplanet --architecture x86 -f simple-patch.c -o /x86/bin/simple-patch
+M2-Mesoplanet --architecture x86 -f simple-patch.c -o ${bindir}/simple-patch
# Environmental variables needed for mes
NYACC_PKG=nyacc-1.00.2
diff --git a/sysa/tcc-0.9.26/tcc-0.9.26.kaem b/sysa/tcc-0.9.26/tcc-0.9.26.kaem
@@ -31,9 +31,9 @@ cd ..
cd build
untar --file ../src/${TCC_TAR}.tar
-/x86/bin/simple-patch ${TCC_PKG}/tcctools.c \
+simple-patch ${TCC_PKG}/tcctools.c \
../simple-patches/remove-fileopen.before ../simple-patches/remove-fileopen.after
-/x86/bin/simple-patch ${TCC_PKG}/tcctools.c \
+simple-patch ${TCC_PKG}/tcctools.c \
../simple-patches/addback-fileopen.before ../simple-patches/addback-fileopen.after
untar --non-strict --file ../src/${MES_PKG}.tar
diff --git a/sysa/tcc-0.9.27/tcc-0.9.27.kaem b/sysa/tcc-0.9.27/tcc-0.9.27.kaem
@@ -20,14 +20,14 @@ cd ..
cd build
untar --file ../src/${pkg}.tar
-/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tcctools.c \
+simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tcctools.c \
/sysa/tcc-0.9.27/simple-patches/remove-fileopen.before /sysa/tcc-0.9.27/simple-patches/remove-fileopen.after
-/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tcctools.c \
+simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tcctools.c \
/sysa/tcc-0.9.27/simple-patches/addback-fileopen.before /sysa/tcc-0.9.27/simple-patches/addback-fileopen.after
-/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
+simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
/sysa/tcc-0.9.27/simple-patches/fiwix-paddr.before /sysa/tcc-0.9.27/simple-patches/fiwix-paddr.after
# Fix SIGSEGV while building lwext4
-/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
+simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
/sysa/tcc-0.9.27/simple-patches/check-reloc-null.before /sysa/tcc-0.9.27/simple-patches/check-reloc-null.after
untar --non-strict --file ../src/${MES_PKG}.tar
cd ${pkg}