[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] libfdt: Keep fdt functions after init for CONFIG_OVERLAY_DTB.
commit 6235b83ebaa230f1804631d1dd109e2ed7db7d73 Author: Vikram Garhwal <vikram.garhwal@xxxxxxx> AuthorDate: Tue Sep 5 18:16:16 2023 -0700 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Tue Sep 5 18:25:14 2023 -0700 libfdt: Keep fdt functions after init for CONFIG_OVERLAY_DTB. This is done to access fdt library function which are required for adding device tree overlay nodes for dynamic programming of nodes. Signed-off-by: Vikram Garhwal <vikram.garhwal@xxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- xen/common/libfdt/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile index 75aaefa2e3..d50487aa6e 100644 --- a/xen/common/libfdt/Makefile +++ b/xen/common/libfdt/Makefile @@ -1,7 +1,11 @@ include $(src)/Makefile.libfdt SECTIONS := text data $(SPECIAL_DATA_SECTIONS) + +# For CONFIG_OVERLAY_DTB, libfdt functionalities will be needed during runtime. +ifneq ($(CONFIG_OVERLAY_DTB),y) OBJCOPYFLAGS := $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) +endif obj-y += libfdt.o nocov-y += libfdt.o -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |