summaryrefslogtreecommitdiffstats
path: root/rules/host-u-boot-tools.make
blob: c16f4b03fac20a1fe1e9516065ec159d6b5b4438 (plain)
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
# -*-makefile-*-
#
# Copyright (C) 2012 by Andreas Bießmann <andreas@biessmann.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_U_BOOT_TOOLS) += host-u-boot-tools


# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_U_BOOT_TOOLS_CONF_TOOL	:= NO
HOST_U_BOOT_TOOLS_MAKE_OPT	:= sandbox_config tools-only

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

HOST_U_BOOT_TOOLS_PROGS := \
	fit_check_sign \
	mkenvimage \
	mkimage

$(STATEDIR)/host-u-boot-tools.install:
	@$(call targetinfo)
	@$(foreach prog, $(HOST_U_BOOT_TOOLS_PROGS), \
		install -vD $(HOST_U_BOOT_TOOLS_DIR)/tools/$(prog) \
		$(HOST_U_BOOT_TOOLS_PKGDIR)/bin/$(prog)$(ptx/nl))

	@$(call touch)

# vim: syntax=make