kiss-mfavila-small/ports/syslinux/build

24 lines
546 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
2021-05-11 00:07:37 -04:00
for file in 0018-prevent-pow-optimization.patch fcommon.patch
do
patch -p1 < $file
done
2021-05-09 02:10:08 -04:00
# Fix missing <sys/sysmacros.h> include.
sed -i 's@vfs.h>@vfs.h>\n#include <sys/sysmacros.h>@' extlinux/main.c
# Disable debugging and development "stuff".
: > mk/devel.mk
2021-05-11 00:07:37 -04:00
make -j1 \
PYTHON=python \
2021-05-09 02:10:08 -04:00
bios efi64 installer
2021-05-11 00:07:37 -04:00
make -j1 \
INSTALLROOT="$1" \
MANDIR=/usr/share/man \
SBINDIR=/usr/bin \
2021-05-09 02:10:08 -04:00
AUXDIR=/usr/lib/syslinux \
bios efi64 install