From: Zbigniew Jędrzejewski-Szmek Date: Sun, 16 May 2021 16:06:33 +0000 (+0200) Subject: efi: use meson object directly instead of going through 'substs' X-Git-Tag: v249-rc1~210^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f127e161e59b874788bd5f68cda77023a4145cd;p=thirdparty%2Fsystemd.git efi: use meson object directly instead of going through 'substs' --- diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 6b6c493026b..ad549fb65a9 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -104,8 +104,8 @@ if have_gnu_efi if get_option('sbat-distro') != '' efi_conf.set_quoted('SBAT_PROJECT', meson.project_name()) - efi_conf.set_quoted('PROJECT_VERSION', substs.get('PROJECT_VERSION')) - efi_conf.set_quoted('PROJECT_URL', substs.get('PROJECT_URL')) + efi_conf.set_quoted('PROJECT_VERSION', meson.project_version()) + efi_conf.set('PROJECT_URL', conf.get('PROJECT_URL')) if get_option('sbat-distro-generation') < 1 error('SBAT Distro Generation must be a positive integer') endif