diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 5bf2726810..f986f7c794 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -65,9 +65,20 @@ BUILDHISTORY_PRESERVE = "latest latest_srcrev sysroot" | |||
65 | PATCH_GIT_USER_EMAIL ?= "buildhistory@oe" | 65 | PATCH_GIT_USER_EMAIL ?= "buildhistory@oe" |
66 | PATCH_GIT_USER_NAME ?= "OpenEmbedded" | 66 | PATCH_GIT_USER_NAME ?= "OpenEmbedded" |
67 | 67 | ||
68 | # | ||
69 | # Write out the contents of the sysroot | ||
70 | # | ||
68 | buildhistory_emit_sysroot() { | 71 | buildhistory_emit_sysroot() { |
69 | mkdir --parents ${BUILDHISTORY_DIR_PACKAGE} | 72 | mkdir --parents ${BUILDHISTORY_DIR_PACKAGE} |
70 | buildhistory_list_files_no_owners ${SYSROOT_DESTDIR} ${BUILDHISTORY_DIR_PACKAGE}/sysroot | 73 | case ${CLASSOVERRIDE} in |
74 | class-native|class-cross|class-crosssdk) | ||
75 | BASE=${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE} | ||
76 | ;; | ||
77 | *) | ||
78 | BASE=${SYSROOT_DESTDIR} | ||
79 | ;; | ||
80 | esac | ||
81 | buildhistory_list_files_no_owners $BASE ${BUILDHISTORY_DIR_PACKAGE}/sysroot | ||
71 | } | 82 | } |
72 | 83 | ||
73 | # | 84 | # |