Build/InstallDev is placing the files on a temp folder


Package A contains some header files that will also be needed to compile package B. According to this, during package A compilation, those files should be copied to the staging directory, pointed to by the argument $(1) of Build/InstallDev.

The problem is that these files, instead of being copied to staging_dir, are being copied to tmp/stage-pkg name. What is worse, is that this directory is being deleted once the make ends.

Do you have any idea what's going on?