How to rename output driver file after build using .inf/.inx file

Hi All,
I am looking for a solution to rename the driver output file according to architecture i.e x86/x64.
For example:
x86- sample_x86.sys
x64 - sample_x64.sys
How can I do this using the .inf/.inx file using vs 2019
Please help me solve this issue.

Regards,
Rajendra

Well, normally, that’s not how it’s done.

If you’re looking to have a single INF file that covers multiple architectures, the “typical” thing to do is to put the drivers into sub-directories of the driver package based on their architecture.

Peter