Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | # 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) |
| 5 | SUMMARY = "DOS FAT Filesystem Utilities" |
| 6 | HOMEPAGE = "https://github.com/dosfstools/dosfstools" |
| 7 | |
| 8 | SECTION = "base" |
| 9 | LICENSE = "GPLv3" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 11 | |
| 12 | SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.xz \ |
| 13 | " |
| 14 | SRC_URI[md5sum] = "07a1050db1a898e9a2e03b0c4569c4bd" |
| 15 | SRC_URI[sha256sum] = "e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173" |
| 16 | |
| 17 | UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" |
| 18 | |
| 19 | inherit autotools pkgconfig |
| 20 | |
| 21 | EXTRA_OECONF = "--without-udev --enable-compat-symlinks" |
| 22 | |
| 23 | CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| 24 | |
Andrew Geissler | 5a43b43 | 2020-06-13 10:46:56 -0500 | [diff] [blame] | 25 | BBCLASSEXTEND = "native nativesdk" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | |
| 27 | # Add codepage437 to avoid error from `dosfsck -l` |
| 28 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437" |