src/boot/efi/meson.build: ensure VERSION_TAG exists in case of cross build
authorChen Qi <Qi.Chen@windriver.com>
Thu, 4 Jul 2024 06:18:41 +0000 (23:18 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 09:38:42 +0000 (11:38 +0200)
commit9150ffc98a80df9ce14c8e985ed48d7762b1e4c1
tree40b7db56696d3228464b5e921742a5ed4bc5574e
parent1eb122033f1891488d2456be18c51b72e9f766c8
src/boot/efi/meson.build: ensure VERSION_TAG exists in case of cross build

The GIT_VERSION is changed to use VERSION_TAG, but in case of cross build
for src/boot/efi, it's not set, causing build error because the compiler cannot
know it's a macro thus treating it as some variable and error out.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
(cherry picked from commit 646ed5af0013accacac1f4ac048371bebec52f60)
src/boot/efi/meson.build