summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Rezanina <mrezanin@redhat.com>2017-06-26 13:51:51 +0200
committerMiroslav Rezanina <mrezanin@redhat.com>2017-07-14 10:56:54 +0200
commit836b4e3d7c11ba505c69b92a290e6cb3425170ee (patch)
treea735820804b4c1fc14a8b65470a1d4101c70398b
parentc8afc5ecbc8d05c2c4fd0f1678d2fa0a4075174d (diff)
downloaddevice-tree-compiler-836b4e3d7c11ba505c69b92a290e6cb3425170ee.tar.gz
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 <drjones@redhat.com> Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
-rw-r--r--redhat/Makefile2
1 files changed, 1 insertions, 1 deletions
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)