blob: 47d81dac8d6bbc95b76a70d473d5e6265bed8bf3 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001# dosfstools OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Copyright (C) 2015, Sören Brinkmann <soeren.brinkmann@gmail> All Rights Reserved
4# Released under the MIT license (see packages/COPYING)
5SUMMARY = "DOS FAT Filesystem Utilities"
6HOMEPAGE = "https://github.com/dosfstools/dosfstools"
7
8SECTION = "base"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00009LICENSE = "GPL-3.0-only"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
11
Andrew Geissler87f5cff2022-09-30 13:13:31 -050012SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013 "
Andrew Geissler90fd73c2021-03-05 15:25:55 -060014SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015
Andrew Geissler87f5cff2022-09-30 13:13:31 -050016inherit autotools gettext pkgconfig update-alternatives github-releases
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017
Andrew Geissler90fd73c2021-03-05 15:25:55 -060018EXTRA_OECONF = "--enable-compat-symlinks --without-iconv"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019
20CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
21
Andrew Geissler5a43b432020-06-13 10:46:56 -050022BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050023
Andrew Geissler6ce62a22020-11-30 19:58:47 -060024ALTERNATIVE_PRIORITY = "100"
Patrick Williams213cb262021-08-07 19:21:33 -050025ALTERNATIVE:${PN} = "mkfs.vfat"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060026ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat"