Kbuild: Support qemu pid
Change-Id: I9824d2971f4eaa8798f444432ff033548ec71e04 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
d06c20eb58
commit
848c5c83a3
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1524,9 +1524,10 @@ tools/%: FORCE
|
|||
$(Q)mkdir -p $(objtree)/tools
|
||||
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/ $*
|
||||
|
||||
QEMU_FLAGS = $ $(QEMU_FLAGS_$(SRCARCH))
|
||||
QEMU_FLAGS = $(QEMU_FLAGS_$(SRCARCH)) -pidfile qemu.pid
|
||||
|
||||
qemu: tinymountain
|
||||
@echo "To exit from QEMU enter: 'CTRL+a, x'"
|
||||
@echo '[QEMU] CPU: $(QEMU_CPU_TYPE_$(SRCARCH))'
|
||||
$(Q)$(QEMU) $(QEMU_FLAGS) -kernel $(KERNEL_NAME).elf
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue