summaryrefslogtreecommitdiff
path: root/diag
diff options
context:
space:
mode:
authorSylvain Gault <sylvain.gault@gmail.com>2015-11-27 22:38:26 +0100
committerSylvain Gault <sylvain.gault@gmail.com>2015-11-27 23:09:58 +0100
commit2d14923c02aa343f650a5bee128e9ea383a0ed59 (patch)
tree8a8f7f8b45a3fc861716d922cd8578740bedca47 /diag
parent82c0ec7b39acb87175ea588f2fa11b21331503c4 (diff)
downloadsyslinux-2d14923c02aa343f650a5bee128e9ea383a0ed59.tar.gz
Makefile: Pass down the variable EFI_BUILD
This variable indicates whether or nor the files are compiled for EFI. The lack of it lead the Makefiles to forget to add some compilation options specific to EFI. Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
Diffstat (limited to 'diag')
-rw-r--r--diag/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/diag/Makefile b/diag/Makefile
index e3353753..619c1632 100644
--- a/diag/Makefile
+++ b/diag/Makefile
@@ -4,4 +4,4 @@ all tidy dist clean spotless install:
@mkdir -p $(addprefix $(OBJ)/,$(SUBDIRS))
set -e; for d in $(SUBDIRS); \
do $(MAKE) -C $(OBJ)/$$d -f $(SRC)/$$d/Makefile \
- SRC="$(SRC)"/$$d OBJ="$(OBJ)"/$$d $@; done
+ SRC="$(SRC)"/$$d OBJ="$(OBJ)"/$$d EFI_BUILD=$(EFI_BUILD) $@; done