From 836b4e3d7c11ba505c69b92a290e6cb3425170ee Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Mon, 26 Jun 2017 13:51:51 +0200 Subject: [PATCH] redhat/Makefile: honor BREW_FLAGS like the kernel When doing make rh-brew on a RHEL kernel one can set BREW_FLAGS to anything that 'brew build' accepts (see 'brew build -h'). This is useful to avoid wasting resources when only one arch needs to be compiled for a test, as the arch-override parameter can be set. For example, BREW_FLAGS='--arch-override=aarch64' make -C redhat rh-brew only builds for aarch64. Signed-off-by: Andrew Jones Signed-off-by: Miroslav Rezanina --- redhat/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redhat/Makefile b/redhat/Makefile index c6998d3..fea7af2 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -11,7 +11,7 @@ else DS=@ endif -BREW_OPTIONS:=--scratch +BREW_OPTIONS:=$(BREW_FLAGS) --scratch # Hide progress bar in scripts ifeq ($(NOPROGRESS),1)