Use of a Linux initramfs to fully automate the bootstrapping process
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
583 B

2 years ago
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default
mv perl5-perl-5.000 perl-5.000
}
2 years ago
src_prepare() {
default
2 years ago
# Remove and regenerate bison files
2 years ago
rm perly.c perly.h
bison -d perly.y
mv perly.tab.c perly.c
mv perly.tab.h perly.h
# Regenerate embed.h
2 years ago
rm embed.h
./embed_h.SH
# Regenerate keywords.h
2 years ago
rm keywords.h
chmod +x keywords.sh
./keywords.sh
# Regenerate opcode.h
2 years ago
rm opcode.h
chmod +x opcode.sh
./opcode.sh
}