Custom rootfs files for Target Profile

Dear all,
Is it possible to add custom files for a specific target profile ?
I know it is possible for a target and subtarget with the following directories (in my use case)

but what about the final target profile ?

And another question, how the files are copied/merged ? for example does a file in mt76x8/base-files override a file in ramips/base-files ?

Thank's a lot for your help

You probably want to look at DEVICE_PACKAGES.

What do you mean ? I have to create a custom package, witch the only purpose is to add custom files to the root file system ?
And i can select automatically for my target profile this package by means of the makefile located in:


add it to "DEVICE_PACKAGES" list ?

Can you confirm that is the correct way to achieve my goal ?

best regards