Commit 26445f98 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Steven Rostedt (VMware)
Browse files

bootconfig: Remove unneeded CONFIG_LIBXBC

Since there is no user except CONFIG_BOOT_CONFIG and no plan
to use it from other functions, CONFIG_LIBXBC can be removed
and we can use CONFIG_BOOT_CONFIG directly.

Link: http://lkml.kernel.org/r/158098769281.939.16293492056419481105.stgit@devnote2



Suggested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 17d25ae7
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1218,7 +1218,6 @@ endif
config BOOT_CONFIG
config BOOT_CONFIG
	bool "Boot config support"
	bool "Boot config support"
	depends on BLK_DEV_INITRD
	depends on BLK_DEV_INITRD
	select LIBXBC
	default y
	default y
	help
	help
	  Extra boot config allows system admin to pass a config file as
	  Extra boot config allows system admin to pass a config file as
+0 −3
Original line number Original line Diff line number Diff line
@@ -566,9 +566,6 @@ config DIMLIB
config LIBFDT
config LIBFDT
	bool
	bool


config LIBXBC
	bool

config OID_REGISTRY
config OID_REGISTRY
	tristate
	tristate
	help
	help
+1 −1
Original line number Original line Diff line number Diff line
@@ -228,7 +228,7 @@ $(foreach file, $(libfdt_files), \
	$(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
	$(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
lib-$(CONFIG_LIBFDT) += $(libfdt_files)
lib-$(CONFIG_LIBFDT) += $(libfdt_files)


lib-$(CONFIG_LIBXBC) += bootconfig.o
lib-$(CONFIG_BOOT_CONFIG) += bootconfig.o


obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o
obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o