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)
@@ -405,6 +407,11 @@ ATF_DIR := $(TRUSTY_OUT)/atf/qemu/debug
405
407
ATF_BL1 := $(ATF_DIR ) /bl1.bin
406
408
ATF_BL33 := $(ATF_DIR ) /bl33.bin
407
409
410
+ BEAR_CMD :=
411
+ ifeq ($(BEAR ) ,1)
412
+ BEAR_CMD := bear --
413
+ endif
414
+
408
415
.PHONY : trusty-init
409
416
trusty-init :
410
417
mkdir -p $(TRUSTY_SRC )
@@ -413,7 +420,9 @@ trusty-init:
413
420
414
421
.PHONY : trusty
415
422
trusty $(ATF_BL1 ) : | $(TRUSTY_SRC )
416
- $(TRUSTY_SRC ) /trusty/vendor/google/aosp/scripts/build.py --build-root $(TRUSTY_BUILD_ROOT ) --skip-tests $(TRUSTY_TARGET )
423
+ $(BEAR_CMD ) $(TRUSTY_SRC ) /trusty/vendor/google/aosp/scripts/build.py \
424
+ --build-root $(TRUSTY_BUILD_ROOT ) \
425
+ --skip-tests $(TRUSTY_TARGET )
417
426
$(MAKE ) trusty_bl33
418
427
419
428
.PHONY : trusty_bl33
You can’t perform that action at this time.
0 commit comments