Commit 17ce4c6a authored by Charles Oram's avatar Charles Oram Committed by Martin Jansa

libmtp: Fix 'Makefile.am: No such file or directory' build error.

* skip_udev_rules_generation() needs to reference Makefile.am in the recipe
  source directory.
Signed-off-by: default avatarCharles Oram <charles@oram.co.nz>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent e2d97354
......@@ -29,8 +29,8 @@ do_unpack[vardeps] += "skip_udev_rules_generation"
do_unpack[postfuncs] += "skip_udev_rules_generation"
skip_udev_rules_generation () {
sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d' Makefile.am
cp ${WORKDIR}/69-libmtp.rules ${S}/
sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d' ${S}/Makefile.am
cp ${WORKDIR}/69-libmtp.rules ${S}/
}
inherit autotools pkgconfig lib_package
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment