From 4867085c0cd334004e8d67dff7bd53996f23ade6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 2 Nov 2012 14:46:39 +0000 Subject: [build] Include version number within only a single object file Signed-off-by: Michael Brown --- src/interface/efi/efi_snp_hii.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/interface') diff --git a/src/interface/efi/efi_snp_hii.c b/src/interface/efi/efi_snp_hii.c index 90f94984d..3a1193a38 100644 --- a/src/interface/efi/efi_snp_hii.c +++ b/src/interface/efi/efi_snp_hii.c @@ -54,6 +54,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include #include +#include #include #include #include @@ -196,7 +197,7 @@ efi_snp_hii_package_list ( struct efi_snp_device *snpdev ) { efi_ifr_text_op ( &ifr, efi_ifr_string ( &ifr, "Version" ), efi_ifr_string ( &ifr, "Firmware version" ), - efi_ifr_string ( &ifr, VERSION ) ); + efi_ifr_string ( &ifr, "%s", product_version ) ); efi_ifr_text_op ( &ifr, efi_ifr_string ( &ifr, "Driver" ), efi_ifr_string ( &ifr, "Firmware driver" ), -- cgit v1.2.3-55-g7522