summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFiles
2010-07-26oe.patch: don't error when the symlink already exists and is correctEvgeniy Dushistov2
Adds oe.path.symlink convenience function. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10lib/oe/patch.py: Dont import patches but symlink them insteadKhem Raj1
* This patch removes the usage of quilt import <patch> instead it creasted a symlink to the patch in the patches directory and synthesizes the series file which otherwise would be done automatically by quilt import. * This should help a bit in reducing build time as it avoids copying of the patch and also other things that quilt import would otherwise do. * Tested by doing minimal-image on qemuarm. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-06-10Add a rm -rf utility function and use it in packaged-staging.bbclassChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-09Revert "lib/oe/patch.py: Dont import patches but symlink them instead"Khem Raj1
pushed wrong branch. It needs to be reviewed before pushing. This reverts commit 428c2de6d27dd49274b9884c3123b053c42af0ce.
2010-06-09lib/oe/patch.py: Dont import patches but symlink them insteadKhem Raj1
* This patch removes the usage of quilt import <patch> instead it creasted a symlink to the patch in the patches directory and synthesizes the series file which otherwise would be done automatically by quilt import. * This should help a bit in reducing build time as it avoids copying of the patch and also other things that quilt import would otherwise do. * Tested by doing minimal-image on qemuarm. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-27oe.utils: added param_bool() methodEnrico Scholz1
This new function works like dict's get() method but converts the returned value to a boolean. It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI. Moved from base.bbclass into lib/oe/utils.py -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-23oe.patch: kill long standing annoying messages from the non-quilt patch ↵Chris Larson1
application Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-24oe.path.relative: add missing importsChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-24Revert "oe.path.relative: switch to a different appraoch"Chris Larson1
Drop this for now, seems to cause issues with python 2.5. This reverts commit 5c923fd35c369bae929fc0e110121abeaffab493.
2010-04-23oe.path.relative: switch to a different appraochChris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-04-23oe.path.relative: leverage os.path.relpath if availableChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23oe.path.join: simplify a bitChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson5
Signed-off-by: Chris Larson <chris_larson@mentor.com>