To add/modify the domain sources (driver and library code) using the Vitis™ software platform, you must create your own repository with all the required files including the .mld/.mdd files and the source files. The installed driver and library code are located in the <Vitis_Install_Dir>/data/embeddedsw directory. A driver or library code component includes source files in the src directory and metadata in data directory. In the .mld/.mdd file, bump up the driver/library version number and add this repository to the Vitis software platform.
The Vitis software platform automatically infers all the components contained within the repository and makes them available for use in its environment. To make any modifications, you must make the required changes in the repository. Building the application gives you the modified changes.