aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-font/font-util_1.3.0.bb')
-rw-r--r--meta/recipes-graphics/xorg-font/font-util_1.3.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
index cc4258ad7b..a067a75869 100644
--- a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
+++ b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
@@ -24,3 +24,8 @@ BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "ddfc8a89d597651408369d940d03d06b"
SRC_URI[sha256sum] = "dfa9e55625a4e0250f32fabab1fd5c8ffcd2d1ff2720d6fcf0f74bc8a5929195"
+
+SYSROOT_PREPROCESS_FUNCS += "fontutil_sysroot_preprocess"
+fontutil_sysroot_preprocess () {
+ sysroot_stage_dir ${D}${datadir}/fonts/ ${SYSROOT_DESTDIR}${datadir}/fonts/
+}