Skip to content

Commit 883278b

Browse files
author
Gulshan Singh
committed
Warn if attempting to use ACK with TRUSTY
1 parent e72be95 commit 883278b

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
@@ -464,6 +464,12 @@ trusty_clean:
464464

465465
# When Trusty is enabled, use the kernel image built by Trusty
466466
ifeq ($(TRUSTY),1)
467+
ifeq ($(ACK),1)
468+
ifndef QEMU_KERNEL_IMAGE
469+
$(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))
470+
endif
471+
endif
472+
467473
KERNEL_IMAGE := $(TRUSTY_KERNEL_IMAGE)
468474
endif
469475

0 commit comments

Comments
 (0)