You’d have to actively include that into your image instead of using the stock builder. Even the upstream vendor kernel would not be compromised.