If you have the following in SRC_URI: file://dir/file file://dir/subdir "file" will unpack to ${WORKDIR}/dir and "subdir" will unpack to ${WORKDIR}. This is because of the basepath = os.path.dirname(basepath) line added in the following commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6a2ce81fc6dbf39ccb9ee973b7b61f9e10406918 Unfortunately this needs to be fixed before bug 6128 can be fixed.
Alexander Shashkevich fixed at, http://git.openembedded.org/bitbake/commit/?id=e659a3b0c2771679057ee3e13cd42e6c62383ff2