mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 04:37:57 +07:00
60a0004cc9
Add nodes and properties to overlay_base and overlay dts files to test for - incorrect existing node name detection when overlay node name has a unit-address - adding overlay __symbols__ properties to live tree when an overlay is added to the live tree The following console messages will appear near the end of unittest until the code errors are corrected: OF: Duplicate name in fairway-1, renamed to "ride@100#1" ### dt-test ### FAIL of_unittest_overlay_high_level():2296 Adding overlay 'overlay_bad_symbol' failed ### dt-test ### end of unittest - 190 passed, 1 failed Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
28 lines
634 B
Makefile
28 lines
634 B
Makefile
obj-y += testcases.dtb.o
|
|
|
|
targets += testcases.dtb testcases.dtb.S
|
|
|
|
ifdef CONFIG_OF_OVERLAY
|
|
|
|
obj-y += overlay.dtb.o
|
|
obj-y += overlay_bad_phandle.dtb.o
|
|
obj-y += overlay_bad_symbol.dtb.o
|
|
obj-y += overlay_base.dtb.o
|
|
|
|
targets += overlay.dtb overlay.dtb.S
|
|
targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S
|
|
targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S
|
|
targets += overlay_base.dtb overlay_base.dtb.S
|
|
|
|
# enable creation of __symbols__ node
|
|
DTC_FLAGS_overlay := -@
|
|
DTC_FLAGS_overlay_bad_phandle := -@
|
|
DTC_FLAGS_overlay_bad_symbol := -@
|
|
DTC_FLAGS_overlay_base := -@
|
|
|
|
endif
|
|
|
|
.PRECIOUS: \
|
|
$(obj)/%.dtb.S \
|
|
$(obj)/%.dtb
|