1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # Copyright (C) 2000, 2002, 2003 Jeff Dike (jd 4 # 5 6 # pcap is broken in 2.5 because kbuild doesn't 7 # in to pcap.o 8 9 slip-objs := slip_kern.o slip_user.o 10 slirp-objs := slirp_kern.o slirp_user.o 11 daemon-objs := daemon_kern.o daemon_user.o 12 vector-objs := vector_kern.o vector_user.o vec 13 umcast-objs := umcast_kern.o umcast_user.o 14 net-objs := net_kern.o net_user.o 15 mconsole-objs := mconsole_kern.o mconsole_user 16 hostaudio-objs := hostaudio_kern.o 17 ubd-objs := ubd_kern.o ubd_user.o 18 port-objs := port_kern.o port_user.o 19 harddog-objs := harddog_kern.o 20 harddog-builtin-$(CONFIG_UML_WATCHDOG) := hard 21 rtc-objs := rtc_kern.o rtc_user.o 22 23 LDFLAGS_vde.o = $(shell $(CC) $(CFLAGS) -print 24 25 targets := vde_kern.o vde_user.o 26 27 $(obj)/vde.o: $(obj)/vde_kern.o $(obj)/vde_use 28 $(LD) -r -dp -o $@ $^ $(ld_flags) 29 30 #XXX: The call below does not work because the 31 # object name, so nothing from the library get 32 #$(call if_changed,ld) 33 34 # When the above is fixed, don't forget to add 35 #targets += $(obj)/pcap.o 36 37 obj-y := stdio_console.o fd.o chan_kern.o chan 38 obj-$(CONFIG_SSL) += ssl.o 39 obj-$(CONFIG_STDERR_CONSOLE) += stderr_console 40 41 obj-$(CONFIG_UML_NET_SLIP) += slip.o slip_comm 42 obj-$(CONFIG_UML_NET_SLIRP) += slirp.o slip_co 43 obj-$(CONFIG_UML_NET_DAEMON) += daemon.o 44 obj-$(CONFIG_UML_NET_VECTOR) += vector.o 45 obj-$(CONFIG_UML_NET_VDE) += vde.o 46 obj-$(CONFIG_UML_NET_MCAST) += umcast.o 47 obj-$(CONFIG_UML_NET) += net.o 48 obj-$(CONFIG_MCONSOLE) += mconsole.o 49 obj-$(CONFIG_MMAPPER) += mmapper_kern.o 50 obj-$(CONFIG_BLK_DEV_UBD) += ubd.o 51 obj-$(CONFIG_UML_SOUND) += hostaudio.o 52 obj-$(CONFIG_NULL_CHAN) += null.o 53 obj-$(CONFIG_PORT_CHAN) += port.o 54 obj-$(CONFIG_PTY_CHAN) += pty.o 55 obj-$(CONFIG_TTY_CHAN) += tty.o 56 obj-$(CONFIG_XTERM_CHAN) += xterm.o xterm_kern 57 obj-$(CONFIG_UML_WATCHDOG) += harddog.o 58 obj-y += $(harddog-builtin-y) $(harddog-builti 59 obj-$(CONFIG_BLK_DEV_COW_COMMON) += cow_user.o 60 obj-$(CONFIG_UML_RANDOM) += random.o 61 obj-$(CONFIG_VIRTIO_UML) += virtio_uml.o 62 obj-$(CONFIG_UML_RTC) += rtc.o 63 obj-$(CONFIG_UML_PCI_OVER_VIRTIO) += virt-pci. 64 65 # pcap_user.o must be added explicitly. 66 USER_OBJS := fd.o null.o pty.o tty.o xterm.o s 67 CFLAGS_null.o = -DDEV_NULL=$(DEV_NULL_PATH) 68 69 CFLAGS_xterm.o += '-DCONFIG_XTERM_CHAN_DEFAULT 70 71 include $(srctree)/arch/um/scripts/Makefile.ru
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.