Skip to contentSkip to conversation

a more precise definition of "ASSUME_PROVIDED" variable?

DISCUSSION Robert P. J. Day 1 participant 1 message Mar 9, 2021

lore
Share & tools
lore
#0 lore raw

more pedantic nitpickery, but i recall a long time back being
confused by the current definition in the BB manual about what ASSUME_PROVIDED meant. here's part of the glossary entry for that variable:

"In OpenEmbedded-Core, ASSUME_PROVIDED mostly specifies native tools that should not be built. An example is git-native, which when specified allows for the Git binary from the host to be used rather than building git-native."

fair enough, but a reader might interpret that as meaning that the
"git" executable command will be picked up from the host, without appreciating that other commands might also be involved.

as i recall (and i could be wrong), if bzip2-native is
ASSUME_PROVIDED, that means that recipe won't be built, but it would also mean(?) that all of the *other* commands normally provided by that package (bzdiff, bzgrep, bzmore) better also exist on the host if they're used.

do i understand that correctly?

rday