1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# -*-makefile-*-
#
# Copyright (C) 2016 by Matthias Klein <matthias.klein@optimeas.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_MMC_UTILS) += mmc-utils
#
# Paths and names
#
# No tags: use a fake descriptive commit-ish to include the date
MMC_UTILS_VERSION := 2019-10-04-g73d6c59af8d1
MMC_UTILS_MD5 := 5d7c8db4f1735111d42773799e1a84bc
MMC_UTILS := mmc-utils-$(MMC_UTILS_VERSION)
MMC_UTILS_SUFFIX := tar.gz
MMC_UTILS_URL := https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;tag=$(MMC_UTILS_VERSION)
MMC_UTILS_SOURCE := $(SRCDIR)/$(MMC_UTILS).$(MMC_UTILS_SUFFIX)
MMC_UTILS_DIR := $(BUILDDIR)/$(MMC_UTILS)
MMC_UTILS_LICENSE := GPL-2.0-only AND BSD-3-Clause
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
MMC_UTILS_CONF_TOOL := NO
MMC_UTILS_MAKE_ENV := $(CROSS_ENV) prefix=/usr
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/mmc-utils.targetinstall:
@$(call targetinfo)
@$(call install_init, mmc-utils)
@$(call install_fixup, mmc-utils,PRIORITY,optional)
@$(call install_fixup, mmc-utils,SECTION,base)
@$(call install_fixup, mmc-utils,AUTHOR,"Matthias Klein <matthias.klein@optimeas.de>")
@$(call install_fixup, mmc-utils,DESCRIPTION,missing)
@$(call install_copy, mmc-utils, 0, 0, 0755, -, /usr/bin/mmc)
@$(call install_finish, mmc-utils)
@$(call touch)
# vim: syntax=make
|