There are few example source code exist in meta-openamp repository currently.
These examples are not using libopenamp or libmetal but, they are using kernel device nodes (rpmsg device) to interact with RPU firmware.
Ideally any meta-* layer should contain only bitabake recipes or patch files, but not actual source code.
I would like to move these source code examples under OpenAMP/open-amp repository here: https://github.com/OpenAMP/open-amp
I have few questions regarding this:
1) Is it appropriate to move under open-amp/apps/examples/<new_dir> ( I am open to suggestions for name of <new_dir>. I suggest host_example) or please suggest new path where to move these files?
2) These demos uses "make" utility for compilation. However, open-amp repo uses "CMAKE" utility to compile source code. Is it wise to remove "Makefile" right away and add CMAKE support to compile source code? I am trying to avoid backward compatibility issues here.