The dependency on GEN9_SKL is more complicated to fix. This is also not a real fix for the problem, I just move the dependencies to BXT. The generic code should not depend on specific options.
What's the usage scenario when you are seeing the problem?
Others
What impacted?
I can not remove all unnecessary dependencies and the binary is bigger than needed.
Debug Information
No response
Do you want to contribute a patch to fix the issue?
They are all category in gen9 platform and mixed together. I think it is hard to decouple them at this moment. It was top design issue at the beginning.
Perhaps unified build option '-DGEN9' is more reasonable.
Which component impacted?
Build
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
I want to build mediadriver on Linux just for GEN9_BXT with the following options:
The build fails.
I was able to remove the dependency to GEN9_KBL with this patch:
The dependency on GEN9_SKL is more complicated to fix. This is also not a real fix for the problem, I just move the dependencies to BXT. The generic code should not depend on specific options.
What's the usage scenario when you are seeing the problem?
Others
What impacted?
I can not remove all unnecessary dependencies and the binary is bigger than needed.
Debug Information
No response
Do you want to contribute a patch to fix the issue?
No.