File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ VERBOSE ?= 0
16
16
17
17
ARCH ?= x86_64
18
18
19
+ BEAR ?= 0
20
+
19
21
GREEN := $(shell tput setaf 2)
20
22
YELLOW := $(shell tput setaf 3)
21
23
NC := $(shell tput sgr0)
@@ -402,6 +404,11 @@ ATF_DIR := $(TRUSTY_OUT)/atf/qemu/debug
402
404
ATF_BL1 := $(ATF_DIR ) /bl1.bin
403
405
ATF_BL33 := $(ATF_DIR ) /bl33.bin
404
406
407
+ BEAR_CMD :=
408
+ ifeq ($(BEAR ) ,1)
409
+ BEAR_CMD := bear --
410
+ endif
411
+
405
412
.PHONY : trusty-init
406
413
trusty-init :
407
414
mkdir -p $(TRUSTY_SRC )
@@ -410,7 +417,9 @@ trusty-init:
410
417
411
418
.PHONY : trusty
412
419
trusty $(ATF_BL1 ) : | $(TRUSTY_SRC )
413
- $(TRUSTY_SRC ) /trusty/vendor/google/aosp/scripts/build.py --build-root $(TRUSTY_BUILD_ROOT ) --skip-tests $(TRUSTY_TARGET )
420
+ $(BEAR_CMD ) $(TRUSTY_SRC ) /trusty/vendor/google/aosp/scripts/build.py \
421
+ --build-root $(TRUSTY_BUILD_ROOT ) \
422
+ --skip-tests $(TRUSTY_TARGET )
414
423
$(MAKE ) trusty_bl33
415
424
416
425
.PHONY : trusty_bl33
You can’t perform that action at this time.
0 commit comments