mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
Rebuild pregenerated files in nyacc
This commit is contained in:
parent
c0494d9af8
commit
e08f655cd6
2 changed files with 18 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ sha256sum -c sources.SHA256SUM
|
|||
# Unpack
|
||||
mkdir build
|
||||
cd build
|
||||
ungz --file ${DISTFILES}/${NYACC_PKG}.tar.gz --output ${NYACC_PKG}.tar
|
||||
ungz --file ${DISTFILES}/${NYACC_PKG}-lb1.tar.gz --output ${NYACC_PKG}.tar
|
||||
ungz --file ${DISTFILES}/${MES_PKG}.tar.gz --output ${MES_PKG}.tar
|
||||
untar --file ${NYACC_PKG}.tar
|
||||
untar --non-strict --file ${MES_PKG}.tar # ignore symlinks
|
||||
|
|
@ -62,6 +62,20 @@ kaem --verbose --strict --file kaem.${MES_ARCH}
|
|||
cp bin/mes-m2 ${BINDIR}/mes-m2
|
||||
chmod 755 ${BINDIR}/mes-m2
|
||||
|
||||
# Rebuild pregenerated files in nyacc
|
||||
cd ../${NYACC_PKG}
|
||||
rm module/nyacc/lang/c99/mach.d/c99-act.scm module/nyacc/lang/c99/mach.d/c99-tab.scm \
|
||||
module/nyacc/lang/c99/mach.d/c99cx-act.scm module/nyacc/lang/c99/mach.d/c99cx-tab.scm \
|
||||
module/nyacc/lang/c99/mach.d/c99x-act.scm module/nyacc/lang/c99/mach.d/c99x-tab.scm \
|
||||
module/nyacc/lang/c99/mach.d/cpp-act.scm module/nyacc/lang/c99/mach.d/cpp-tab.scm
|
||||
${MES} -L module gen-cpp-files.scm
|
||||
# More RAM for this one!
|
||||
MES_ARENA=32000000
|
||||
${MES} -L module gen-c99-files.scm
|
||||
MES_ARENA=20000000
|
||||
${MES} -L module gen-c99cx-files.scm
|
||||
cd ../${MES_PKG}
|
||||
|
||||
# Create mescc.scm
|
||||
mescc_in=scripts/mescc.scm.in
|
||||
replace --file ${mescc_in} --output ${mescc_in} --match-on @prefix@ --replace-with ${PREFIX}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue