patching: fix: use correct has_overlay_directories instead of has_dts_directories for overlay processing

This commit is contained in:
Ricardo Pardini
2024-02-22 22:47:10 +01:00
committed by Igor
parent c3fc3f432c
commit 911e71241b

View File

@@ -338,7 +338,7 @@ if apply_patches:
autopatcher_descriptions.extend(dt_makefile_patcher.copy_bare_files(autopatcher_params, "dt"))
# Include the overlay stuff
if pconfig.has_dts_directories:
if pconfig.has_overlay_directories:
autopatcher_descriptions.extend(dt_makefile_patcher.copy_bare_files(autopatcher_params, "overlay"))
# Autopatch the Makefile(s) according to the config