generic-poky/meta/recipes-devtools/mmc/mmc-utils_git.bb
Roy Li b111b6b1a8 mmc-utils: fix the building failure when DEBUG_BUILD is 1
Remove -Werror, since it is suitable to develop only; otherwise when
gcc adds -O0 option to compile codes, the error will be generated
since the warning:
  //#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)

(From OE-Core rev: 11d31170fa955a5a1293455ba24d5e3a88dc69af)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-01 15:39:57 +01:00

24 lines
666 B
BlitzBasic

DESCRIPTION = "Userspace tools for MMC/SD devices"
HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=17;md5=d7747fc87f1eb22b946ef819969503f0"
BRANCH ?= "master"
SRCREV = "f4eb241519f8d500ce6068a70d2389be39ac5189"
PV = "0.1"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${BRANCH} \
file://0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch"
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}
}