diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-13 15:49:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-13 17:48:38 +0000 |
commit | c3dd44b751e351be52512e2aff885bf571c95fe5 (patch) | |
tree | 9b16900dc14b952d7b92dc493792676b53b942d8 | |
parent | 3df19b8e551d195d57a0299acfe9e6a4f79b4510 (diff) | |
download | openembedded-core-c3dd44b751e351be52512e2aff885bf571c95fe5.tar.gz openembedded-core-c3dd44b751e351be52512e2aff885bf571c95fe5.tar.bz2 openembedded-core-c3dd44b751e351be52512e2aff885bf571c95fe5.zip |
buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed
bb.build.exec_func() does not allow passing arguments to the executed
scripts. Use wrappers instead.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/buildhistory.bbclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index c048ca290e..0033b5af83 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -388,6 +388,14 @@ buildhistory_get_sdk_installed() { buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk } +buildhistory_get_sdk_installed_host() { + buildhistory_get_sdk_installed host +} + +buildhistory_get_sdk_installed_target() { + buildhistory_get_sdk_installed target +} + buildhistory_list_files() { # List the files in the specified directory, but exclude date/time etc. # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo @@ -449,8 +457,8 @@ ROOTFS_POSTPROCESS_COMMAND =+ "buildhistory_get_image_installed ; " IMAGE_POSTPROCESS_COMMAND += " buildhistory_get_imageinfo ; " # We want these to be the last run so that we get called after complementary package installation -POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed target ; " -POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; " +POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed_target ; " +POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed_host ; " SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " |