summaryrefslogtreecommitdiff
path: root/arch/um/drivers/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-03-24 13:13:43 +0100
committerRichard Weinberger <richard@nod.at>2022-05-27 08:50:07 +0200
commit16aa835a25243114331fe816b3508120c5a88042 (patch)
tree620eb222c5eb8e48e2dd3d0bc91f2e57f0c4fe97 /arch/um/drivers/Makefile
parent42226c989789d8da4af1de0c31070c96726d990c (diff)
um: xterm: Make default terminal emulator configurable
Make the default terminal emulator configurable so e.g. Debian can set it to x-terminal-emulator instead of the current default of xterm. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Tested-by: Ritesh Raj Sarraf <ritesh@collabora.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/Makefile')
-rw-r--r--arch/um/drivers/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/drivers/Makefile b/arch/um/drivers/Makefile
index 803666e85414..e1dc4292bd22 100644
--- a/arch/um/drivers/Makefile
+++ b/arch/um/drivers/Makefile
@@ -70,4 +70,6 @@ obj-$(CONFIG_UML_PCI_OVER_VIRTIO) += virt-pci.o
USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o vector_user.o
CFLAGS_null.o = -DDEV_NULL=$(DEV_NULL_PATH)
+CFLAGS_xterm.o += '-DCONFIG_XTERM_CHAN_DEFAULT_EMULATOR="$(CONFIG_XTERM_CHAN_DEFAULT_EMULATOR)"'
+
include arch/um/scripts/Makefile.rules