Write simple-patch binary to ${bindir} and remove hard coded paths

This commit is contained in:
Paul Dersey 2023-06-05 10:48:46 -04:00
parent 82f2204f91
commit 87601931b2
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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}