Skip to contentSkip to conversation

Makefile: only check _FINAL_DEPENDENCIES are selected

PATCH Superseded James Hilliard 1 participant 1 message Jan 5, 2022 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: only check _FINAL_DEPENDENCIES are selected

_FINAL_ALL_DEPENDENCIES includes _FINAL_PATCH_DEPENDENCIES which may not need to be selected in kconfig in cases where building is not desired, so only check that _FINAL_DEPENDENCIES are selected.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index ac98b84425..7a2da3b043 100644
@@ -589,7 +589,7 @@ endif
 endef
 
 $(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\
-	$(foreach dep,$(call UPPERCASE,$($(pkg)_FINAL_ALL_DEPENDENCIES)),\
+	$(foreach dep,$(call UPPERCASE,$($(pkg)_FINAL_DEPENDENCIES)),\
 		$(eval $(call CHECK_ONE_DEPENDENCY,$(pkg),$(dep))$(sep))))
 
 endif
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot