Merge pull request #7381 from mglae/le11_systemd_generic_efi

systemd: build with -Defi=true on Generic
This commit is contained in:
Rudi Heitbaum 2023-01-15 03:41:58 +11:00 committed by GitHub
commit eebbd03eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,6 @@ PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
-Dhwdb=true \
-Drfkill=false \
-Dldconfig=false \
-Defi=false \
-Dtpm=false \
-Dima=false \
-Dsmack=false \
@ -102,6 +101,12 @@ PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
-Ddebug-tty=${DEBUG_TTY} \
-Dversion-tag=${PKG_VERSION}"
if [ "${PROJECT}" = "Generic" ]; then
PKG_MESON_OPTS_TARGET+=" -Defi=true"
else
PKG_MESON_OPTS_TARGET+=" -Defi=false"
fi
pre_configure_target() {
export TARGET_CFLAGS="${TARGET_CFLAGS} -fno-schedule-insns -fno-schedule-insns2 -Wno-format-truncation"
export LC_ALL=en_US.UTF-8