Skip to content

Commit

Permalink
[PATCH] uml: Rename Kconfig files to be like the other arches
Browse files Browse the repository at this point in the history
To the extent that sub-Kconfig files exist elsewhere in the tree, they are
named Kconfig.foo, rather than the Kconfig_foo that UML has.  This patch
brings the names in line with the rest of the tree.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Sep 5, 2005
1 parent 96e5924 commit 08b178e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions arch/um/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ config MODE_SKAS
to CONFIG_MODE_TT). Otherwise, it is safe to say Y. Disabling this
option will shrink the UML binary slightly.

source "arch/um/Kconfig_arch"
source "arch/um/Kconfig.arch"
source "mm/Kconfig"

config LD_SCRIPT_STATIC
Expand Down Expand Up @@ -279,15 +279,15 @@ source "net/Kconfig"

source "drivers/base/Kconfig"

source "arch/um/Kconfig_char"
source "arch/um/Kconfig.char"

source "drivers/block/Kconfig"

config NETDEVICES
bool
default NET

source "arch/um/Kconfig_net"
source "arch/um/Kconfig.net"

source "drivers/net/Kconfig"

Expand All @@ -311,7 +311,7 @@ config GENERIC_ISA_DMA
depends on SCSI
default y

source "arch/um/Kconfig_scsi"
source "arch/um/Kconfig.scsi"

endmenu

Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions arch/um/Kconfig_net → arch/um/Kconfig.net
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ config UML_NET_ETHERTAP
link with the host.

To use this, your host kernel must have support for Ethertap
devices. Also, if your host kernel is 2.4.x, it must have
devices. Also, if your host kernel is 2.4.x, it must have
CONFIG_NETLINK_DEV configured as Y or M.

For more information, see
Expand All @@ -43,7 +43,7 @@ config UML_NET_ETHERTAP
networking.

If you'd like to set up an IP network with the host and/or the
outside world, say Y to this, the Daemon Transport and/or the
outside world, say Y to this, the Daemon Transport and/or the
Slip Transport. You'll need at least one of them, but may choose
more than one without conflict. If you don't need UML networking,
say N.
Expand Down Expand Up @@ -78,7 +78,7 @@ config UML_NET_SLIP

The Ethertap Transport is preferred over slip because of its
limitations. If you prefer slip, however, say Y here. Otherwise
choose the Multicast transport (to network multiple UMLs on
choose the Multicast transport (to network multiple UMLs on
multiple hosts), Ethertap (to network with the host and the
outside world), and/or the Daemon transport (to network multiple
UMLs on a single host). You may choose more than one without
Expand Down Expand Up @@ -138,7 +138,7 @@ config UML_NET_PCAP
depends on UML_NET && EXPERIMENTAL
help
The pcap transport makes a pcap packet stream on the host look
like an ethernet device inside UML. This is useful for making
like an ethernet device inside UML. This is useful for making
UML act as a network monitor for the host. You must have libcap
installed in order to build the pcap transport into UML.

Expand Down Expand Up @@ -169,11 +169,11 @@ config UML_NET_SLIRP
setup string. The effect of this transport on the UML is similar
that of a host behind a firewall that masquerades all network
connections passing through it (but is less secure).

To use this you should first have slirp compiled somewhere
accessible on the host, and have read its documentation. If you
don't need UML networking, say N.

Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"

endmenu
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ define archhelp
endef

ifneq ($(KBUILD_SRC),)
$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig_$(SUBARCH) $(ARCH_DIR)/Kconfig_arch)
CLEAN_FILES += $(ARCH_DIR)/Kconfig_arch
$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch)
CLEAN_FILES += $(ARCH_DIR)/Kconfig.arch
else
$(shell cd $(ARCH_DIR) && ln -sf Kconfig_$(SUBARCH) Kconfig_arch)
$(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch)
endif

prepare: $(ARCH_SYMLINKS) $(SYS_HEADERS) $(GEN_HEADERS)
Expand Down Expand Up @@ -147,7 +147,7 @@ CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/uml-config.h \

MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \
$(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os \
$(ARCH_DIR)/Kconfig_arch
$(ARCH_DIR)/Kconfig.arch

archclean:
$(Q)$(MAKE) $(clean)=$(ARCH_DIR)/util
Expand Down

0 comments on commit 08b178e

Please sign in to comment.