[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] kconfig: introduce option to independently enable libfdt
commit 373c67d8a65556278e7cf8a226d19682c626de68 Author: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx> AuthorDate: Mon Apr 14 13:08:56 2025 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Mon Apr 14 13:08:56 2025 +0200 kconfig: introduce option to independently enable libfdt Currently, the inclusion of libfdt is controlled by the CONFIG_HAS_DEVICE_TREE kconfig flag. This flag also changes behavior in a few places, such as boot module processing for XSM. To support the ability to include libfdt without changing these behaviors, introduce CONFIG_LIBFDT. The inclusion of libfdt is then moved under CONFIG_LIBFDT. Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Jason Andryuk <jason.andryuk@xxxxxxx> Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/Kconfig | 4 ++++ xen/common/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/xen/common/Kconfig b/xen/common/Kconfig index 42a2b6a03f..be28060716 100644 --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -72,6 +72,7 @@ config HAS_COMPAT config HAS_DEVICE_TREE bool + select LIBFDT config HAS_DIT # Data Independent Timing bool @@ -109,6 +110,9 @@ config HAS_UBSAN config HAS_VMAP bool +config LIBFDT + bool + config MEM_ACCESS_ALWAYS_ON bool diff --git a/xen/common/Makefile b/xen/common/Makefile index f625031d16..98f0873056 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -80,7 +80,7 @@ obj-y += sched/ obj-$(CONFIG_UBSAN) += ubsan/ obj-$(CONFIG_NEEDS_LIBELF) += libelf/ -obj-$(CONFIG_HAS_DEVICE_TREE) += libfdt/ +obj-$(CONFIG_LIBFDT) += libfdt/ CONF_FILE := $(if $(patsubst /%,,$(KCONFIG_CONFIG)),$(objtree)/)$(KCONFIG_CONFIG) $(obj)/config.gz: $(CONF_FILE) -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |