Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <susan34> hi. is it possible to select a choice as dependency ? if in a new .mk, i do select BR2_PACKAGE_QT5 and select BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM, i get an error because default choice of QT5 is SQLITE_NONE
  2. and i don't manage to tell to buildroot what i want
  3. <y_morin> susan34: No, it is not possible to select an entry of a choice; one can only ever depend on it.
  4. <susan34> ok. is it a normal technical choice that i don't understand or for the moment a limitation (is it wanted or not in fact)
  5. <y_morin> susan34: That's a limitation/feature of the kconfig language.
  6. <susan34> ok.
  7. thanks, it works if i put both,qt5 and SQLITE_SYSTEM as depends on.
  8. <y_morin> susan34: Selecting a choice entry is not possible. Consider A and B two entries of the same choice, and C and D two totally unrelated options. What if C selects A and D selects B, and C and D are both enabled at the same time?
  9. <y_morin> It does not make sense, so the language does not support that.
  10. (one may argue that a SAT solver would help in this situation, but there is no such SAT in kconfig)
  11. <susan34> it has the sense you give to it. for example, depends on A && depends on !A is supported but has no sense
  12. but however my aim goal was to understand or know if something was possible. thanks for youranswer.
  13. <y_morin> susan34: No, having two options of the _same_ choice enabled at the same time does not make sense (or they would not be in the same choice to begin with)
  14. <susan34> yes, i agree, but in my case, it's not what i wanted. but my only solutionfor the moment is to put it in the _defconfig file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement