setup.py needs to be run twice to properly copy x393.h
Created by: peacememories
When trying to build linux-xlnx
for the elphel393, I ran into a problem where x393.h
was not found. Some digging revealed that the rsync-command in setup.py
doesn't get run on the first script run, because os.path.isdir(cwd+"/linux-elphel/src/drivers/elphel")
returns false
.
This means I need to run setup.py twice to properly set up the project.