summaryrefslogtreecommitdiff
blob: 7e4dd1af3294fc70c031ac7adf92f982d8fc8ad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 321f0750ee69cc62ab609f760769d880676f712b Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@arm.com>
Date: Fri, 14 May 2021 14:07:11 +0100
Subject: [PATCH] meson: pass the found genpeimg to generate_binary

---
 efi/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/efi/meson.build b/efi/meson.build
index a496210..7cc1da1 100644
--- a/efi/meson.build
+++ b/efi/meson.build
@@ -215,6 +215,7 @@ app = custom_target(efi_name,
                       '@INPUT@', '@OUTPUT@',
                       '--arch', gnu_efi_arch,
                       '--objcopy', efi_objcopy,
+                      '--genpeimg', genpeimg.found() ? genpeimg : ''
                     ],
                     install : true,
                     install_dir : efi_app_location)