Hi Vikram,

On 09/11/2021 08:02, Vikram Garhwal wrote:
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 <[email protected]>
---
  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)
+

NIT: I would add a short comment explaining why we need to keep after init.

+ifneq ($(CONFIG_OVERLAY_DTB),y)
  OBJCOPYFLAGS := $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s))
+endif

Acked-by: Julien Grall <[email protected]>

Cheers,

--
Julien Grall

Reply via email to