Skip to content

Commit

Permalink
tee-supplicant: make RPMB_EMU a conditional assignment
Browse files Browse the repository at this point in the history
At the moment the RPMB_EMU variable in the Makefile uses a simple
assignment and unconditionally sets the variable.
Move it to a conditional assignment and allow users to override it
from the command line with:
CROSS_COMPILE=aarch64-linux-gnu- RPMB_EMU=0 make

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
apalos authored and jforissier committed Oct 21, 2020
1 parent c0c9253 commit a0d6857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tee-supplicant/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include ../config.mk

OUT_DIR := $(OO)/tee-supplicant

# Emulate RPMB ioctl's
RPMB_EMU := 1
# Emulate RPMB ioctl's by default
RPMB_EMU ?= 1

.PHONY: all tee-supplicant clean

Expand Down

0 comments on commit a0d6857

Please sign in to comment.