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)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Wed, 7 Dec 2022 20:02:44 +0000 (21:02 +0100)
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 d0d460f922d8e0a84c038a0dc096af1591e784fc..73a06d721ecb297023b31b859b3dacaf7c68be5a 100644 (file)
@@ -77,4 +77,4 @@ ARGP_LDFLAGS        := @argp_ldflags@
 
 FILE_OFFSET_BITS    := @FILE_OFFSET_BITS@
 
-CONFIG_PV_SHIM      := @pvshim@
+CONFIG_PV_SHIM      ?= @pvshim@