]> code.ossystems Code Review - openembedded-core.git/commit
relocatable: Handle directories having subdirectories of binaries
authorJoshua Lock <josh@linux.intel.com>
Thu, 1 Apr 2010 10:42:50 +0000 (11:42 +0100)
committerJoshua Lock <josh@linux.intel.com>
Thu, 1 Apr 2010 10:53:29 +0000 (11:53 +0100)
commitb43b80c7605ad12bc6e0e4e0b22d2f256f246f22
treea678ba4b1e195600a63453813436b2864966d4f1
parentcf929499aa503d6b9226f823bc366d24a7b26651
relocatable: Handle directories having subdirectories of binaries

Make the processing of directories less naive so that it can handle a directory
with children that are directories. We now scan for and process binaries in all
directories below the scanned paths rather than only the top-level directory.

This patch moves the meat of the post-processing into a separate function which
is fed paths, process_dir (). Then when the function finds a subdirectory of
the passed path which is itself a directory it recursively calls itself.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/relocatable.bbclass