summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-02-13 15:49:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-13 17:53:30 +0000
commit6a6cdadf31ce382a14a8f9cd83dfaa18062447de (patch)
treef28c4ecd7bb89039c4dfe2ce4aaf8a65276ce6f4 /meta/classes
parentf8593b6520a691a6b864dc87e7b8755671b2ede2 (diff)
downloadpoky-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/classes')
-rw-r--r--meta/classes/buildhistory.bbclass12
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
391buildhistory_get_sdk_installed_host() {
392 buildhistory_get_sdk_installed host
393}
394
395buildhistory_get_sdk_installed_target() {
396 buildhistory_get_sdk_installed target
397}
398
391buildhistory_list_files() { 399buildhistory_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 ; "
449IMAGE_POSTPROCESS_COMMAND += " buildhistory_get_imageinfo ; " 457IMAGE_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
452POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed target ; " 460POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed_target ; "
453POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; " 461POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed_host ; "
454 462
455SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " 463SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; "
456 464