summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/mtools/mtools_4.0.10.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/mtools/mtools_4.0.10.bb b/recipes/mtools/mtools_4.0.10.bb
index 5b7f0cd890..b53306a517 100644
--- a/recipes/mtools/mtools_4.0.10.bb
+++ b/recipes/mtools/mtools_4.0.10.bb
@@ -18,3 +18,9 @@ S = "${WORKDIR}/mtools-${PV}"
inherit autotools
EXTRA_OECONF = "--without-x"
+
+do_fix_perms() {
+ chmod 644 ${S}/*.c ${S}/*.h
+}
+
+addtask fix_perms after do_unpack before do_patch