summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/mmc/mmc-utils_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mmc/mmc-utils_git.bb')
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index bdb4fed181..8950360934 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -13,6 +13,10 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branc
S = "${WORKDIR}/git"
+do_configure_prepend() {
+ sed -i "s:-Werror::g" ${S}/Makefile
+}
+
do_install() {
install -d ${D}${bindir}
install -m 0755 mmc ${D}${bindir}