Skip to content

Commit 67d3419

Browse files
Gulshan Singhgsingh93
authored andcommitted
Warn if attempting to use ACK with TRUSTY
1 parent b9ba020 commit 67d3419

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,12 @@ trusty_clean:
468468

469469
# When Trusty is enabled, use the kernel image built by Trusty
470470
ifeq ($(TRUSTY),1)
471+
ifeq ($(ACK),1)
472+
ifndef QEMU_KERNEL_IMAGE
473+
$(warning $(YELLOW)ACK was enabled, but Trusty runs with its own kernel. To force using a specific kernel image, add `QEMU_KERNEL_IMAGE=$(KERNEL_IMAGE)` to the command line $(NC))
474+
endif
475+
endif
476+
471477
KERNEL_IMAGE := $(TRUSTY_KERNEL_IMAGE)
472478
endif
473479

0 commit comments

Comments
 (0)