mmc-utils_git.bb 826 B

12345678910111213141516171819202122232425
  1. SUMMARY = "Userspace tools for MMC/SD devices"
  2. HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
  3. LICENSE = "GPLv2"
  4. LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
  5. SRCBRANCH ?= "master"
  6. SRCREV = "b4fe0c8c0e57a74c01755fa9362703b60d7ee49d"
  7. PV = "0.1"
  8. SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH} \
  9. file://0001-lsmmc-replace-strncpy-with-memmove-on-overlapping-me.patch \
  10. "
  11. UPSTREAM_CHECK_COMMITS = "1"
  12. S = "${WORKDIR}/git"
  13. CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
  14. CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
  15. CFLAGS_append_mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
  16. do_install() {
  17. install -d ${D}${bindir}
  18. install -m 0755 mmc ${D}${bindir}
  19. }