config/Tools.mk.in: Respect caller's CONFIG_PV_SHIM
authorIan Jackson <iwj@barriere.debian.org>
Fri, 12 Oct 2018 16:00:16 +0000 (16:00 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 23 Aug 2022 11:40:41 +0000 (13:40 +0200)
This makes it easier to disable the shim build.  (In Debian we need to
build the shim separately because it needs different compiler flags).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
[ Hans: adjust from tools/firmware/Makefile to config/Tools.mk.in to
follow changes that happened in 8845155c83 ("pvshim: make PV shim build
selectable from configure") ]
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
config/Tools.mk.in

index 934d899967f38102a5af7c255223f3e09735742d..03313b308f24a1359fccbd817dd841b432b949aa 100644 (file)
@@ -75,4 +75,4 @@ ARGP_LDFLAGS        := @argp_ldflags@
 
 FILE_OFFSET_BITS    := @FILE_OFFSET_BITS@
 
-CONFIG_PV_SHIM      := @pvshim@
+CONFIG_PV_SHIM      ?= @pvshim@