SNAME="ipfire" # Short name
# If you update the version don't forget to update backupiso and add it to core update
VERSION="2.27" # Version number
-CORE="163" # Core Level (Filename)
+CORE="164" # Core Level (Filename)
SLOGAN="www.ipfire.org" # Software slogan
CONFIG_ROOT=/var/ipfire # Configuration rootdir
MAX_RETRIES=1 # prefetch/check loop
CROSSTARGET="${build_arch}-cross-linux-gnueabi"
BUILD_PLATFORM="arm"
CFLAGS_ARCH="-march=armv6zk+fp -mfpu=vfp -mfloat-abi=softfp -fomit-frame-pointer"
- #RUSTFLAGS="-Ccodegen-units=1"
;;
riscv64)
CFLAGS="-O2 -pipe -Wall -fexceptions -fPIC ${CFLAGS_ARCH}"
CXXFLAGS="${CFLAGS}"
+ RUSTFLAGS="-Copt-level=3 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn ${RUSTFLAGS_ARCH}"
+
# Determine parallelism
# We assume that each process consumes about
# 128MB of memory. Therefore we find out how
lfsmake2 util-linux
lfsmake2 vim
lfsmake2 e2fsprogs
+ lfsmake2 jq
}
buildipfire() {
lfsmake2 sqlite
lfsmake2 libffi
lfsmake2 python3
+ lfsmake2 rust
+ lfsmake2 rust-dissimilar
+ lfsmake2 rust-cfg-if
+ lfsmake2 rust-libc
+ lfsmake2 rust-getrandom
+ lfsmake2 rust-typenum
+ lfsmake2 rust-version-check
lfsmake2 gdb
lfsmake2 grub
lfsmake2 efivar
lfsmake2 rrdtool
lfsmake2 setup
lfsmake2 libdnet
- lfsmake2 rust
lfsmake2 jansson
lfsmake2 yaml
lfsmake2 libhtp
lfsmake2 frr
lfsmake2 dmidecode
lfsmake2 mcelog
- lfsmake2 util-macros
lfsmake2 libpciaccess
lfsmake2 libyajl
lfsmake2 libvirt
lfsmake2 libcdada
lfsmake2 pmacct
lfsmake2 squid-asnbl
+ lfsmake2 qemu-ga
}
buildinstaller() {
fi
;;
*)
- echo "Usage: $0 {build|changelog|clean|gettoolchain|downloadsrc|shell|sync|toolchain|update-contributors|find-dependencies|check-manualpages}"
+ echo "Usage: $0 [OPTIONS] {build|changelog|clean|gettoolchain|downloadsrc|shell|sync|toolchain|update-contributors|find-dependencies|check-manualpages}"
cat doc/make.sh-usage
;;
esac