Skip to content

Commit

Permalink
qemu.mk: use xterm instead of gnome-terminal
Browse files Browse the repository at this point in the history
- Make sure launch-terminal cannot block by adding a '&'
- Use xterm instead of gnome-terminal because it is more likely to be
installed by default.

Fixes OP-TEE#18.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
  • Loading branch information
jforissier committed Oct 27, 2015
1 parent cb45260 commit 0731185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ endef

define launch-terminal
@nc -z 127.0.0.1 $(1) || \
gnome-terminal -e "$(BASH) -c '$(SOC_TERM_PATH)/soc_term $(1); exec /bin/bash -i'" --title=$(2)
xterm -title $(2) -e $(BASH) -c "$(SOC_TERM_PATH)/soc_term $(1)" &
endef

.PHONY: run
Expand Down

0 comments on commit 0731185

Please sign in to comment.