Destroying the soname, naming conventions is not something to be recommended.
Are you doing this work on a file system that does not support symbolic links?
Using the host includes is not something to be recommended.
That will fail as soon as you encounter an include that contains code or one of the systems (host or target) changes so that the includes are not compatable.
I would strongly suggest that you spend your time setting up a proper cross-compile environment before wasting your time with creating a Makefile built to fail.
|