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:53:30 +0000 |
commit | 6a6cdadf31ce382a14a8f9cd83dfaa18062447de (patch) | |
tree | f28c4ecd7bb89039c4dfe2ce4aaf8a65276ce6f4 /meta | |
parent | f8593b6520a691a6b864dc87e7b8755671b2ede2 (diff) | |
download | poky-6a6cdadf31ce382a14a8f9cd83dfaa18062447de.tar.gz |
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.
(From OE-Core rev: c3dd44b751e351be52512e2aff885bf571c95fe5)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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() { | |||
388 | buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk | 388 | buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk |
389 | } | 389 | } |
390 | 390 | ||
391 | buildhistory_get_sdk_installed_host() { | ||
392 | buildhistory_get_sdk_installed host | ||
393 | } | ||
394 | |||
395 | buildhistory_get_sdk_installed_target() { | ||
396 | buildhistory_get_sdk_installed target | ||
397 | } | ||
398 | |||
391 | buildhistory_list_files() { | 399 | buildhistory_list_files() { |
392 | # List the files in the specified directory, but exclude date/time etc. | 400 | # List the files in the specified directory, but exclude date/time etc. |
393 | # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo | 401 | # 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 ; " | |||
449 | IMAGE_POSTPROCESS_COMMAND += " buildhistory_get_imageinfo ; " | 457 | IMAGE_POSTPROCESS_COMMAND += " buildhistory_get_imageinfo ; " |
450 | 458 | ||
451 | # We want these to be the last run so that we get called after complementary package installation | 459 | # We want these to be the last run so that we get called after complementary package installation |
452 | POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed target ; " | 460 | POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed_target ; " |
453 | POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; " | 461 | POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed_host ; " |
454 | 462 | ||
455 | SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " | 463 | SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " |
456 | 464 | ||