Need help: How to build x86 Generic with HEVC 10bit support

Hi everyone,

i want to build a LibreELEC Kodi master build (Generic ARCH=x86_64) with HEVC 10bit support for my Intel NUC6CAYS (Apollo Lake).
I’ve set up a build system (Ubuntu VM) and a clean build (LibreELEC branch: master)was successful.

Now I don’t know which patches or which changes i need to include.
Do you have any suggestions for me?

Thank you in advance