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 <fnu.vik...@xilinx.com> --- xen/common/libfdt/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile index 6bd207c..f838f5f 100644 --- a/xen/common/libfdt/Makefile +++ b/xen/common/libfdt/Makefile @@ -1,7 +1,10 @@ include Makefile.libfdt SECTIONS := text data $(SPECIAL_DATA_SECTIONS) + +ifneq ($(CONFIG_OVERLAY_DTB),y) OBJCOPYFLAGS := $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) +endif obj-y += libfdt.o nocov-y += libfdt.o -- 2.7.4