summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2016-06-21 14:54:10 +0200
committerCarlo Caione <carlo@endlessm.com>2016-06-30 22:31:43 +0200
commit48e39ab69dc731f57f9fad3eb4990a0f601c6c23 (patch)
tree2f9065ec49adb1549b5aced63102a5d5a081eae1
parent160741af151eef1635feb43498276285eba36f1e (diff)
downloadefi-boot-shim-Release_3.0.0-rc3.tar.gz
efi-boot-shim-Release_3.0.0-rc3.zip
makefile: Fix detecting objcopy versionRelease_3.0.0-rc3Release_3.0.0-rc1
Signed-off-by: Carlo Caione <carlo@endlessm.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 740ad53e..a060a199 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ LD = $(CROSS_COMPILE)ld
OBJCOPY = $(CROSS_COMPILE)objcopy
ARCH = $(shell $(CC) -dumpmachine | cut -f1 -d- | sed s,i[3456789]86,ia32,)
-OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.version //g' | cut -f1-2 -d.` \>= 2.24)
+OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.*\((.*)\|version\) //g' | cut -f1-2 -d.` \>= 2.24)
SUBDIRS = Cryptlib lib