diff options
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb index 8bdca32b71c..d33910b31c2 100644 --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb @@ -28,3 +28,9 @@ RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" BBCLASSEXTEND = "native nativesdk" + +do_install_append() { + # Create blank .pyc files, so that they will be recorded in + # manifest, and can be cleaned correctly. + find ${D}${libdir}/xcb-proto/xcbgen -type f -maxdepth 1 -name '*.py' -exec touch {}c \; +} |